asahi: Mark scissor dirty if rast->scissor changes
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 30 May 2021 20:34:41 +0000 (02:04 +0530)
committerMarge Bot <eric+marge@anholt.net>
Sun, 30 May 2021 23:32:01 +0000 (23:32 +0000)
commit861109e4413feb60f177e43e3269c8092e8816cf
tree0f96c6902cbf698d55c053f87d477ae0df8143a3
parentbe5ea29237c06b48ce3a2b708527494b1321591b
asahi: Mark scissor dirty if rast->scissor changes

Although there is a scissor enable bit in the hardware rasterizer state, we
cannot rely on it alone as we also "scissor" to the viewport.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11084>
src/gallium/drivers/asahi/agx_state.c