radeonsi: remove dirty slot masks from scissor and viewport states

Graphics / Mesa 3D Graphics Library / Mesa - Marek Olšák [amd.com] - 25 April 2019 15:49 EDT

All registers in the array need to be updated if any of them is changed.

Only apps writing gl_ViewportIndex were affected by this bug.

383f4065911 radeonsi: remove dirty slot masks from scissor and viewport states
src/gallium/drivers/radeonsi/si_blit.c | 2 +-
src/gallium/drivers/radeonsi/si_gfx_cs.c | 3 -
src/gallium/drivers/radeonsi/si_pipe.h | 9 +-
src/gallium/drivers/radeonsi/si_state.c | 8 +-
src/gallium/drivers/radeonsi/si_state_draw.c | 10 +--
src/gallium/drivers/radeonsi/si_state_viewport.c | 101 +++++++----------------
6 files changed, 40 insertions(+), 93 deletions(-)

Upstream: cgit.freedesktop.org


  • Share