aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOmar Mahboubi <166836773+omar-mahboubi@users.noreply.github.com>2026-10-30 15:08:09 +0100
committerGitHub <noreply@github.com>2026-10-30 15:08:09 +0100
commit0585eab41a10ceb63f0e293dfe79b9f878891ec7 (patch)
tree8d86b1e5cd2d777abcff781a71612a6ac181148c /src
parent0a778123e9dcdb4a484fac688ee1bf95837b4a34 (diff)
parentadf02d0f1e6316a7b4a84949e716dcec15880224 (diff)
Merge pull request #33 from givethesourceplox/nx2-moltenvk-shared-memory
vulkan: clamp compute shared memory on MoltenVK
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
index 17f57983e3..ac878ddfef 100644
--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
@@ -1089,7 +1089,7 @@ std::unique_ptr<ComputePipeline> PipelineCache::CreateComputePipeline(
const VkDriverIdKHR driver_id = device.GetDriverID();
const bool needs_shared_mem_clamp =
driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY ||
- driver_id == VK_DRIVER_ID_ARM_PROPRIETARY;
+ driver_id == VK_DRIVER_ID_ARM_PROPRIETARY || driver_id == VK_DRIVER_ID_MOLTENVK;
const u32 max_shared_memory = device.GetMaxComputeSharedMemorySize();
if (needs_shared_mem_clamp && program.shared_memory_size > max_shared_memory) {
LOG_WARNING(Render_Vulkan,