radeonsi: emit_dpbb_state packets optimization
authorSonny Jiang <sonny.jiang@amd.com>
Thu, 7 Jun 2018 16:13:53 +0000 (12:13 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 8 Jun 2018 03:26:40 +0000 (23:26 -0400)
commitce64c1b70aa8e5618e7dbe8e6dc8ef83676afb06
treebc62b4c588901d86d89b1d1dce3acc81f298e3f2
parent7dcfa1f46e84ee0af6bc7d9ecc4f216de559be10
radeonsi: emit_dpbb_state 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.h
src/gallium/drivers/radeonsi/si_state_binning.c