2
0
mirror of https://github.com/skyline-emu/skyline.git synced 2025-05-01 21:49:26 +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:
Billy Laws 2022-08-04 20:02:16 +01:00
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) {