`scissor` calls are marked as redundant, despite scissor-region being modified
JannikGM opened this issue · comments
JannikGM commented
My code is basically this:
gl.enable(GL.SCISSOR_TEST);
for(let x = 0; x < 10; x++) {
gl.scissor(x * 10, 0, 8, 8);
gl.clearStencil(x);
gl.clear(GL.STENCIL_BUFFER_BIT);
}
Each of the scissor
calls is being marked as redundant. There's no explicit list of redundant command IDs.
The scissor affects the clear and the parameters are different each time, so there's no reason why this should be redundant?
sebavan commented
I ll have a look this weekend, I am pretty sure the state does not account for the provided size info in some ways