r600g: make all viewport states use single atom

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

Similarly to scissor states, we can use single atom to track all viewport states. This will allow to simplify dirty atom handling later.

4d9af43 r600g: make all viewport states use single atom
src/gallium/drivers/r600/evergreen_state.c | 7 ++---
src/gallium/drivers/r600/r600_blit.c | 2 +-
src/gallium/drivers/r600/r600_hw_context.c | 8 ++---
src/gallium/drivers/r600/r600_pipe.h | 8 ++---
src/gallium/drivers/r600/r600_state.c | 6 +---
src/gallium/drivers/r600/r600_state_common.c | 41 ++++++++++++++++----------
6 files changed, 38 insertions(+), 34 deletions(-)

Upstream: cgit.freedesktop.org


  • Share