radeonsi/gfx9: rework the gfx9 scissor bug workaround (v2)
authorMarek Olšák <marek.olsak@amd.com>
Thu, 18 Apr 2019 19:19:19 +0000 (15:19 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 25 Apr 2019 15:49:38 +0000 (11:49 -0400)
commit440135e5a0d178c537db3f96e6823bc8220a0f3f
treeedce2c8610c16ec736fee97a282ddd74a591711a
parentbc0d92450757ed2f583fef0a459c53b1ecd13ae6
radeonsi/gfx9: rework the gfx9 scissor bug workaround (v2)

Needed to track context rolls caused by streamout and ACQUIRE_MEM.
ACQUIRE_MEM can occur outside of draw calls.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110355

v2: squashed patches and done more rework

Cc: 19.0 <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state_binning.c
src/gallium/drivers/radeonsi/si_state_draw.c
src/gallium/drivers/radeonsi/si_state_shaders.c
src/gallium/drivers/radeonsi/si_state_streamout.c
src/gallium/drivers/radeonsi/si_state_viewport.c