video_core/renderer_vulkan: Ignore unsupported shader stages (#778)

* video_core/renderer_vulkan: Ignore unsupported shader stages

* clang-format
This commit is contained in:
Daniel R. 2024-09-04 23:55:06 +02:00 committed by GitHub
parent 33e357a250
commit 04b6a25138

View file

@ -298,6 +298,11 @@ bool PipelineCache::RefreshGraphicsKey() {
}
const auto stage = Shader::StageFromIndex(i);
const auto params = Liverpool::GetParams(*pgm);
if (stage != Shader::Stage::Vertex && stage != Shader::Stage::Fragment) {
return false;
}
std::tie(infos[i], modules[i], key.stage_hashes[i]) = GetProgram(stage, params, binding);
}
return true;