vk_pipeline_cache: Skip pipelines with geometry shaders when unsupported.

This commit is contained in:
squidbus 2024-11-05 05:12:29 -08:00
parent fe389e560a
commit e85fc9c375

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;