r600g: make all viewport states use single atom
authorGrazvydas Ignotas <notasas@gmail.com>
Wed, 2 Sep 2015 22:54:29 +0000 (01:54 +0300)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 3 Sep 2015 16:06:14 +0000 (18:06 +0200)
commit4d9af438bc41ed20da1963a438249fee43213121
treef97ad6fdbbc88b835646b00a41076593cbfdf430
parentfbb423b43380d0e43d14056e96846da412693148
r600g: make all viewport states use single atom

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

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/r600/r600_hw_context.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_state_common.c