mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-14 08:12:16 +00:00
vk_pipeline_cache: Skip pipelines with geometry shaders when unsupported. (#1486)
This commit is contained in:
parent
ed0a9c0e4e
commit
176d222519
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ bool PipelineCache::RefreshGraphicsKey() {
|
||||||
switch (regs.stage_enable.raw) {
|
switch (regs.stage_enable.raw) {
|
||||||
case Liverpool::ShaderStageEnable::VgtStages::EsGs: {
|
case Liverpool::ShaderStageEnable::VgtStages::EsGs: {
|
||||||
if (!instance.IsGeometryStageSupported() || !IsGsFeaturesSupported()) {
|
if (!instance.IsGeometryStageSupported() || !IsGsFeaturesSupported()) {
|
||||||
break;
|
return false;
|
||||||
}
|
}
|
||||||
if (!TryBindStageRemap(Shader::Stage::Export, Shader::Stage::Vertex)) {
|
if (!TryBindStageRemap(Shader::Stage::Export, Shader::Stage::Vertex)) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue