[PR #1939] [MERGED] Implement IMAGE_GATHER4 and IMAGE_GATHER4_O #2396

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1939
Author: @StevenMiller123
Created: 12/28/2024
Status: Merged
Merged: 12/28/2024
Merged by: @raphaelthegreat

Base: mainHead: TLOU-opcodes


📝 Commits (3)

📊 Changes

2 files changed (+7 additions, -5 deletions)

View changed files

📝 src/shader_recompiler/frontend/format.cpp (+5 -5)
📝 src/shader_recompiler/frontend/translate/vector_memory.cpp (+2 -0)

📄 Description

These two opcodes are encountered in CUSA00556 - The Last of Us™ Remastered. Also fixes an oddity with the IMAGE_GATHER4_C_LZ entry in our instruction format table. Let me know if there's anything I need to change.

Credits to @Missake212 for testing these changes.


🔄 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/1939 **Author:** [@StevenMiller123](https://github.com/StevenMiller123) **Created:** 12/28/2024 **Status:** ✅ Merged **Merged:** 12/28/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `TLOU-opcodes` --- ### 📝 Commits (3) - [`0b831cf`](https://github.com/shadps4-emu/shadPS4/commit/0b831cf6bb3aa8609f39282e5f03de8f33e4e3fe) Implement IMAGE_GATHER4_O - [`8a638c3`](https://github.com/shadps4-emu/shadPS4/commit/8a638c3c94f472c58b6b78d1adf9638b5f398822) Fix type on IMAGE_GATHER4_C_LZ - [`7cd96e4`](https://github.com/shadps4-emu/shadPS4/commit/7cd96e4b202fb6a5ad2edb0e1bdf90b3e1497582) IMAGE_GATHER4 ### 📊 Changes **2 files changed** (+7 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/shader_recompiler/frontend/format.cpp` (+5 -5) 📝 `src/shader_recompiler/frontend/translate/vector_memory.cpp` (+2 -0) </details> ### 📄 Description These two opcodes are encountered in CUSA00556 - The Last of Us™ Remastered. Also fixes an oddity with the IMAGE_GATHER4_C_LZ entry in our instruction format table. Let me know if there's anything I need to change. Credits to @Missake212 for testing these changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:16:20 +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#2396
No description provided.