r600g: make all scissor states use single atom

Graphics / Mesa 3D Graphics Library / Mesa - Grazvydas Ignotas [gmail.com] - 3 September 2015 11:05 UTC

As suggested by Marek Olšák, we can use single atom to track all scissor states. This will allow to simplify dirty atom handling later.

7d475ba r600g: make all scissor states use single atom
src/gallium/drivers/r600/evergreen_state.c | 36 ++++++++++++--------
src/gallium/drivers/r600/r600_blit.c | 2 +-
src/gallium/drivers/r600/r600_hw_context.c | 4 ++-
src/gallium/drivers/r600/r600_pipe.h | 8 ++---
src/gallium/drivers/r600/r600_state.c | 46 ++++++++++++++++----------
src/gallium/drivers/r600/r600_state_common.c | 6 ++--
6 files changed, 62 insertions(+), 40 deletions(-)

Upstream: cgit.freedesktop.org


  • Share