radeonsi: emit base vertex and start instance only if they change
authorMarek Olšák <marek.olsak@amd.com>
Sun, 7 Dec 2014 19:04:40 +0000 (20:04 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 10 Dec 2014 20:59:37 +0000 (21:59 +0100)
commit3382036946cf7c7859c9027c4ffe4881e30ead56
tree649d1d6b106b4f90d8eb89707d6f3b19b850855b
parentb472709090c10d17686b0ae5a5112e43ba8ac0c6
radeonsi: emit base vertex and start instance only if they change

v2: added a helper function for invalidation of the sh constants

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_hw_context.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state_draw.c