mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-02-06 21:52:17 +03:00
Ensure shader stage enable state matches pipeline stage enable state
As the code was before, if we had a shader that was disabled and enabled again after without being invalidated the pipeline stage would stay disabled and break rendering.
This commit is contained in:
parent
b1c669ba14
commit
c52d3195cf
@ -1040,10 +1040,10 @@ namespace skyline::gpu::interconnect {
|
|||||||
pipelineStage.program = shader.program;
|
pipelineStage.program = shader.program;
|
||||||
}
|
}
|
||||||
|
|
||||||
pipelineStage.enabled = true;
|
|
||||||
pipelineStage.needsRecompile = true;
|
pipelineStage.needsRecompile = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pipelineStage.enabled = true;
|
||||||
shader.invalidated = false;
|
shader.invalidated = false;
|
||||||
}
|
}
|
||||||
} else if (shader.stage != ShaderCompiler::Stage::VertexA) {
|
} else if (shader.stage != ShaderCompiler::Stage::VertexA) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user