[PR #3303] [MERGED] shader_recompiler: Fix incorrect bary coord loads when unsupported #3371

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3303
Author: @raphaelthegreat
Created: 7/23/2025
Status: Merged
Merged: 7/23/2025
Merged by: @georgemoralis

Base: mainHead: main


📝 Commits (2)

  • 3c31172 shader_recompiler: Fix incorrect bary coord loads when unsupported
  • 2de7e5e emit_spirv: Implement BaryCoordSmoothCentroid

📊 Changes

5 files changed (+24 additions, -11 deletions)

View changed files

📝 src/shader_recompiler/backend/spirv/emit_spirv.cpp (+5 -4)
📝 src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp (+4 -0)
📝 src/shader_recompiler/backend/spirv/spirv_emit_context.cpp (+10 -6)
📝 src/shader_recompiler/backend/spirv/spirv_emit_context.h (+1 -0)
📝 src/shader_recompiler/frontend/translate/translate.cpp (+4 -1)

📄 Description

Should fix https://github.com/shadps4-emu/shadPS4/pull/3245#issuecomment-3086406855 and https://github.com/shadps4-emu/shadPS4/pull/3245#issuecomment-3105738985


🔄 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/3303 **Author:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Created:** 7/23/2025 **Status:** ✅ Merged **Merged:** 7/23/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`3c31172`](https://github.com/shadps4-emu/shadPS4/commit/3c31172b284e28a3ad55485c39cb817e1e3b1dbc) shader_recompiler: Fix incorrect bary coord loads when unsupported - [`2de7e5e`](https://github.com/shadps4-emu/shadPS4/commit/2de7e5e22ccc81289f8998a9e0231daab70cba6b) emit_spirv: Implement BaryCoordSmoothCentroid ### 📊 Changes **5 files changed** (+24 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `src/shader_recompiler/backend/spirv/emit_spirv.cpp` (+5 -4) 📝 `src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp` (+4 -0) 📝 `src/shader_recompiler/backend/spirv/spirv_emit_context.cpp` (+10 -6) 📝 `src/shader_recompiler/backend/spirv/spirv_emit_context.h` (+1 -0) 📝 `src/shader_recompiler/frontend/translate/translate.cpp` (+4 -1) </details> ### 📄 Description Should fix https://github.com/shadps4-emu/shadPS4/pull/3245#issuecomment-3086406855 and https://github.com/shadps4-emu/shadPS4/pull/3245#issuecomment-3105738985 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:03:27 +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#3371
No description provided.