panfrost: Process scissor state earlier
Otherwise, if batch->scissor_culls_everything is set for a single draw, every draw after it in the batch will be skipped because the new scissor/viewport state will never be processed. Process scissor state early in draw_vbo to fix this interaction. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Reported-by: Icecream95 <ixn@disroot.org> Fixes: 79356b2e ("panfrost: Skip rasterizer discard draws without side effects") Closes: #5839
Name | Stage | Failure | ||
---|---|---|---|---|
failed
|
panfrost-g52-piglit-gl:arm64 2/2 | Arm | ||
|
||||
failed
|
panfrost-g52-piglit-gl:arm64 1/2 | Arm | ||
|