[PR #3480] [MERGED] shader_recompiler: Apply float type for float buffer atomics #3502

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3480
Author: @StevenMiller123
Created: 8/29/2025
Status: Merged
Merged: 8/30/2025
Merged by: @squidbus

Base: mainHead: float-atomic-fixups


📝 Commits (1)

  • a8c07c2 Properly use float type for float buffer atomics

📊 Changes

4 files changed (+15 additions, -6 deletions)

View changed files

📝 src/shader_recompiler/backend/spirv/emit_spirv_atomic.cpp (+1 -1)
📝 src/shader_recompiler/frontend/translate/vector_memory.cpp (+9 -3)
📝 src/shader_recompiler/ir/opcodes.inc (+2 -2)
📝 src/shader_recompiler/ir/passes/resource_tracking_pass.cpp (+3 -0)

📄 Description

Fixes some vulkan validation errors related to float buffer atomics in My First Gran Turismo® (CUSA49696).

Thanks to @raphaelthegreat for guiding me through this fix.


🔄 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/3480 **Author:** [@StevenMiller123](https://github.com/StevenMiller123) **Created:** 8/29/2025 **Status:** ✅ Merged **Merged:** 8/30/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `float-atomic-fixups` --- ### 📝 Commits (1) - [`a8c07c2`](https://github.com/shadps4-emu/shadPS4/commit/a8c07c2f0106148cb8e7e058b2f3d70ba4ddb76f) Properly use float type for float buffer atomics ### 📊 Changes **4 files changed** (+15 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/shader_recompiler/backend/spirv/emit_spirv_atomic.cpp` (+1 -1) 📝 `src/shader_recompiler/frontend/translate/vector_memory.cpp` (+9 -3) 📝 `src/shader_recompiler/ir/opcodes.inc` (+2 -2) 📝 `src/shader_recompiler/ir/passes/resource_tracking_pass.cpp` (+3 -0) </details> ### 📄 Description Fixes some vulkan validation errors related to float buffer atomics in My First Gran Turismo® (CUSA49696). Thanks to @raphaelthegreat for guiding me through this fix. --- <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:56 +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#3502
No description provided.