vk_pipeline_cache: Skip pipelines with geometry shaders when unsupported. (#1486)

This commit is contained in:
squidbus authored and GitHub committed 2024-11-07 14:57:31 +02:00
1 parent ed0a9c0e4e
commit 176d222519
1 file changed
+1 -1
@@ -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;