vrend_clear executes the Gallium clear command which is only called when the whole viewport is cleared. So far mesa was doing excessive checks on the scissors, thereby updating the scissors to framebuffer size when they were disabled, and the according state changes were transmitted to the host. With mesa/2037478 this was optimized away, so that not disabling the scissors in the clear command manifested itself as a regression in a number of tests. Keeping track of the scissor state in the hardware and disabling the scissors before the clear is executes, and re-enabling them according to the last state fixes this. Closes #116 Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>macos/master
parent
5baaab6f3b
commit
ac7b52cf24
Loading…
Reference in new issue