[PR #2914] [MERGED] shader_recompiler: Always mark buffers as storage buffers. #3077

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2914
Author: @squidbus
Created: 5/12/2025
Status: Merged
Merged: 5/12/2025
Merged by: @squidbus

Base: mainHead: always-storage


📝 Commits (1)

  • fb6ff59 shader_recompiler: Always mark buffers as storage buffers.

📊 Changes

1 file changed (+8 additions, -1 deletions)

View changed files

📝 src/shader_recompiler/info.h (+8 -1)

📄 Description

Experiment with always binding buffers as storage buffers, to avoid some limitations related to uniform buffer size and bounds checking.

Interested in seeing how this affects NVIDIA in particular. If you want to test, please report if this degrades performance and to what extent, and for device loss crashes, please only report if this improves the issue as this isn't expected to fix all cases.


🔄 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/2914 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 5/12/2025 **Status:** ✅ Merged **Merged:** 5/12/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `always-storage` --- ### 📝 Commits (1) - [`fb6ff59`](https://github.com/shadps4-emu/shadPS4/commit/fb6ff59dcaa617244da90aeb62a01616bebfd49d) shader_recompiler: Always mark buffers as storage buffers. ### 📊 Changes **1 file changed** (+8 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/shader_recompiler/info.h` (+8 -1) </details> ### 📄 Description Experiment with always binding buffers as storage buffers, to avoid some limitations related to uniform buffer size and bounds checking. Interested in seeing how this affects NVIDIA in particular. If you want to test, please report if this degrades performance and to what extent, and for device loss crashes, please only report if this improves the issue as this isn't expected to fix all cases. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:02:21 +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#3077
No description provided.