[PR #1553] [MERGED] Implement V_MED3_U32 vector ALU Opcode #2165

Closed
opened 2026-02-27 21:15:26 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1553
Author: @Ruahh
Created: 11/20/2024
Status: Merged
Merged: 11/20/2024
Merged by: @polybiusproxy

Base: mainHead: main


📝 Commits (2)

  • da0346a Implementation for V_MED3_U32 opcode.
  • 3ffc3b8 Fix Indentation lol

📊 Changes

2 files changed (+11 additions, -0 deletions)

View changed files

📝 src/shader_recompiler/frontend/translate/translate.h (+1 -0)
📝 src/shader_recompiler/frontend/translate/vector_alu.cpp (+10 -0)

📄 Description

Needed by The Last Guardian for getting in-game. (This commit on it's own will not make the game playable.)

Seemed almost identical to V_MED3_I32 and V_MED3_F32, with the only diffrerence being the datatype:
image
image

Moves the error from an opcode error to a Texel buffer stride error.
Before:
image
After:
image
(Screenshots include additional tweaks.)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/1553 **Author:** [@Ruahh](https://github.com/Ruahh) **Created:** 11/20/2024 **Status:** ✅ Merged **Merged:** 11/20/2024 **Merged by:** [@polybiusproxy](https://github.com/polybiusproxy) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`da0346a`](https://github.com/shadps4-emu/shadPS4/commit/da0346a7684b52866812e502d639e93860d88060) Implementation for V_MED3_U32 opcode. - [`3ffc3b8`](https://github.com/shadps4-emu/shadPS4/commit/3ffc3b814d25b3fba22bec51ec1b7ac615aa4d55) Fix Indentation lol ### 📊 Changes **2 files changed** (+11 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/shader_recompiler/frontend/translate/translate.h` (+1 -0) 📝 `src/shader_recompiler/frontend/translate/vector_alu.cpp` (+10 -0) </details> ### 📄 Description Needed by The Last Guardian for getting in-game. (This commit on it's own will not make the game playable.) Seemed almost identical to V_MED3_I32 and V_MED3_F32, with the only diffrerence being the datatype: ![image](https://github.com/user-attachments/assets/07882bfa-c4e6-4e43-8aec-26ec3396e829) ![image](https://github.com/user-attachments/assets/a6a16bbf-d167-4d49-bc86-b0b49a3558c3) Moves the error from an opcode error to a Texel buffer stride error. Before: ![image](https://github.com/user-attachments/assets/2728c4a8-6811-4e0f-aaa4-57a15b356fdc) After: ![image](https://github.com/user-attachments/assets/48057827-c5ed-4599-8115-55e9b2c7f146) (Screenshots include additional tweaks.) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:15:26 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#2165
No description provided.