[PR #402] [MERGED] spirv: fix image sample lod/clamp/offset translation #1542

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/402
Author: @viniciuslrangel
Created: 8/11/2024
Status: Merged
Merged: 8/13/2024
Merged by: @raphaelthegreat

Base: mainHead: image_sample_fix


📝 Commits (3)

  • c7286d7 spirv: fix image sample lod/clamp translation
  • 97a555b spirv: fix image sample offsets
  • c21c617 fix ImageSample opcodes & offset emission

📊 Changes

7 files changed (+111 additions, -76 deletions)

View changed files

📝 src/shader_recompiler/backend/spirv/emit_spirv_image.cpp (+36 -9)
📝 src/shader_recompiler/backend/spirv/emit_spirv_instructions.h (+3 -3)
📝 src/shader_recompiler/frontend/translate/vector_memory.cpp (+6 -7)
📝 src/shader_recompiler/ir/ir_emitter.cpp (+13 -29)
📝 src/shader_recompiler/ir/ir_emitter.h (+12 -10)
📝 src/shader_recompiler/ir/opcodes.inc (+4 -4)
📝 src/shader_recompiler/ir/passes/resource_tracking_pass.cpp (+37 -14)

📄 Description

No description provided


🔄 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/402 **Author:** [@viniciuslrangel](https://github.com/viniciuslrangel) **Created:** 8/11/2024 **Status:** ✅ Merged **Merged:** 8/13/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `image_sample_fix` --- ### 📝 Commits (3) - [`c7286d7`](https://github.com/shadps4-emu/shadPS4/commit/c7286d788914728a94959cb9145ec83018da6da3) spirv: fix image sample lod/clamp translation - [`97a555b`](https://github.com/shadps4-emu/shadPS4/commit/97a555b7361198c57bf98b23d9bcd33455c53d6f) spirv: fix image sample offsets - [`c21c617`](https://github.com/shadps4-emu/shadPS4/commit/c21c6179c25d1867935c7ca1267e23601a7b7e25) fix ImageSample opcodes & offset emission ### 📊 Changes **7 files changed** (+111 additions, -76 deletions) <details> <summary>View changed files</summary> 📝 `src/shader_recompiler/backend/spirv/emit_spirv_image.cpp` (+36 -9) 📝 `src/shader_recompiler/backend/spirv/emit_spirv_instructions.h` (+3 -3) 📝 `src/shader_recompiler/frontend/translate/vector_memory.cpp` (+6 -7) 📝 `src/shader_recompiler/ir/ir_emitter.cpp` (+13 -29) 📝 `src/shader_recompiler/ir/ir_emitter.h` (+12 -10) 📝 `src/shader_recompiler/ir/opcodes.inc` (+4 -4) 📝 `src/shader_recompiler/ir/passes/resource_tracking_pass.cpp` (+37 -14) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:13:00 +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#1542
No description provided.