vk_pipeline_cache: Skip pipelines with geometry shaders when unsupported. (#1486)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions

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;