radeonsi: emit_msaa_config packets optimization
authorSonny Jiang <sonny.jiang@amd.com>
Thu, 7 Jun 2018 16:13:50 +0000 (12:13 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 8 Jun 2018 03:26:36 +0000 (23:26 -0400)
commita1b4b00ce2b8db38ab56eff97a9f7417c68ba5c1
tree06b537b0d5a09a78861be5f4446a31842d18821d
parent2bad413f555287f98719a8e9ac42251c2fa9a23a
radeonsi: emit_msaa_config 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