mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-23 10:35:03 +00:00
vk_pipeline_cache: Skip pipelines with geometry shaders when unsupported. (#1486)
This commit is contained in:
parent
ed0a9c0e4e
commit
176d222519
@ -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…
Reference in New Issue
Block a user