[PR #2175] [MERGED] shader_recompiler: don't compile cs with higher shared memory than supported #2537

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2175
Author: @polybiusproxy
Created: 1/17/2025
Status: Merged
Merged: 1/17/2025
Merged by: @polybiusproxy

Base: mainHead: large-shared-mem


📝 Commits (1)

  • 6ef8413 don't compile cs with higher shared memory than supported

📊 Changes

4 files changed (+11 additions, -0 deletions)

View changed files

📝 src/shader_recompiler/backend/spirv/spirv_emit_context.cpp (+4 -0)
📝 src/shader_recompiler/runtime_info.h (+1 -0)
📝 src/video_core/renderer_vulkan/vk_instance.h (+5 -0)
📝 src/video_core/renderer_vulkan/vk_pipeline_cache.cpp (+1 -0)

📄 Description

Do not recompile compute shaders with a higher shared memory size than supported by the GPU to avoid device losses.


🔄 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/2175 **Author:** [@polybiusproxy](https://github.com/polybiusproxy) **Created:** 1/17/2025 **Status:** ✅ Merged **Merged:** 1/17/2025 **Merged by:** [@polybiusproxy](https://github.com/polybiusproxy) **Base:** `main` ← **Head:** `large-shared-mem` --- ### 📝 Commits (1) - [`6ef8413`](https://github.com/shadps4-emu/shadPS4/commit/6ef8413799bcbcd39760ebd343fda2e196552c68) don't compile cs with higher shared memory than supported ### 📊 Changes **4 files changed** (+11 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/shader_recompiler/backend/spirv/spirv_emit_context.cpp` (+4 -0) 📝 `src/shader_recompiler/runtime_info.h` (+1 -0) 📝 `src/video_core/renderer_vulkan/vk_instance.h` (+5 -0) 📝 `src/video_core/renderer_vulkan/vk_pipeline_cache.cpp` (+1 -0) </details> ### 📄 Description Do not recompile compute shaders with a higher shared memory size than supported by the GPU to avoid device losses. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:00:19 +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#2537
No description provided.