From 176d222519b99fbbceb95c91fda7075387b8ee3e Mon Sep 17 00:00:00 2001 From: squidbus <175574877+squidbus@users.noreply.github.com> Date: Thu, 7 Nov 2024 04:57:31 -0800 Subject: [PATCH] vk_pipeline_cache: Skip pipelines with geometry shaders when unsupported. (#1486) --- src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp index c368f2101c..da098fa379 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp @@ -322,7 +322,7 @@ bool PipelineCache::RefreshGraphicsKey() { switch (regs.stage_enable.raw) { case Liverpool::ShaderStageEnable::VgtStages::EsGs: { if (!instance.IsGeometryStageSupported() || !IsGsFeaturesSupported()) { - break; + return false; } if (!TryBindStageRemap(Shader::Stage::Export, Shader::Stage::Vertex)) { return false;