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. (#1486)
  • Loading branch information
squidbus authored Nov 7, 2024
1 parent ed0a9c0 commit 176d222
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 176d222

Please sign in to comment.