mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-04 21:05:06 +01: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.enabled = true;
|
||||
pipelineStage.needsRecompile = true;
|
||||
}
|
||||
|
||||
pipelineStage.enabled = true;
|
||||
shader.invalidated = false;
|
||||
}
|
||||
} else if (shader.stage != ShaderCompiler::Stage::VertexA) {
|
||||
|
Loading…
Reference in New Issue
Block a user