video_core/renderer_vulkan: Ignore unsupported shader stages

This commit is contained in:
Daniel R. 2024-09-04 16:44:29 +02:00
parent 2709b45877
commit 587a13ab90
No known key found for this signature in database
GPG Key ID: B8ADC8F57BA18DBA

View File

@ -290,6 +290,12 @@ 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;