radeonsi: start reworking inferred state handling
authorChristian König <deathsimple@vodafone.de>
Fri, 14 Sep 2012 15:05:34 +0000 (17:05 +0200)
committerChristian König <deathsimple@vodafone.de>
Wed, 26 Sep 2012 09:04:36 +0000 (11:04 +0200)
commit04473db38ade5902a6ad49dba8ca8215599d57be
tree32a45fcbaff0db2f2c42d3b49649e9cf6cbce337
parent112caa853d53467a9c0ef171f272505db0278c6a
radeonsi: start reworking inferred state handling

Instead of tracking the inferred state changes separately
just check if queued and emitted states are the same.

This patch just reworks the update of the SPI map between
vs and ps, but there are probably more cases like this.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/radeonsi_pipe.h
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_draw.c