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

This commit is contained in:
squidbus 2024-11-07 04:57:31 -08:00 committed by GitHub
parent ed0a9c0e4e
commit 176d222519
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -322,7 +322,7 @@ bool PipelineCache::RefreshGraphicsKey() {
switch (regs.stage_enable.raw) { switch (regs.stage_enable.raw) {
case Liverpool::ShaderStageEnable::VgtStages::EsGs: { case Liverpool::ShaderStageEnable::VgtStages::EsGs: {
if (!instance.IsGeometryStageSupported() || !IsGsFeaturesSupported()) { if (!instance.IsGeometryStageSupported() || !IsGsFeaturesSupported()) {
break; return false;
} }
if (!TryBindStageRemap(Shader::Stage::Export, Shader::Stage::Vertex)) { if (!TryBindStageRemap(Shader::Stage::Export, Shader::Stage::Vertex)) {
return false; return false;