radeonsi: emit_msaa_sample_locs packets optimization
authorSonny Jiang <sonny.jiang@amd.com>
Thu, 7 Jun 2018 16:13:51 +0000 (12:13 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 8 Jun 2018 03:26:36 +0000 (23:26 -0400)
commit06b47005d327c311f358ac34c22a1e3ffc3ca11f
tree7c823c3db2a96ea7990cabe67b2899698df99e8b
parenta1b4b00ce2b8db38ab56eff97a9f7417c68ba5c1
radeonsi: emit_msaa_sample_locs packets optimization

Remembering latest states of registers to eliminate redunant SET_CONTEXT_REG packets

Signed-off-by: Sonny Jiang <sonny.jiang@amd.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h