Skip to content

Commit

Permalink
vk_pipeline_cache: Skip pipelines with geometry shaders when unsuppor…
Browse files Browse the repository at this point in the history
…ted.
  • Loading branch information
squidbus committed Nov 5, 2024
1 parent fe389e5 commit e85fc9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e85fc9c

Please sign in to comment.