radeonsi: skip redundant INDEX_TYPE writes
authorMarek Olšák <marek.olsak@amd.com>
Mon, 5 Sep 2016 22:35:12 +0000 (00:35 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 7 Sep 2016 09:13:13 +0000 (11:13 +0200)
commitfe40a65fb6210206720776662f202879777057cd
tree05c051b4814fea321fc85ffadf8cdba8e751bd84
parentbdf767dac4d6229bc80642bb806cc56f6d440cfc
radeonsi: skip redundant INDEX_TYPE writes

Ported from Vulkan.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@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