mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 16:02:26 +00:00
video_core/renderer_vulkan: Ignore unsupported shader stages
This commit is contained in:
parent
2709b45877
commit
587a13ab90
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user