radeonsi: move index buffer flushing into a non-upload indexed case
authorMarek Olšák <marek.olsak@amd.com>
Wed, 15 Feb 2017 17:36:21 +0000 (18:36 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 18 Feb 2017 00:22:08 +0000 (01:22 +0100)
commit620aded541a5b81df74575888754094fea2f2ae2
treeee77931dc1b114fdd3c08d56a28092ca6f352238
parent22b8a773e1edb6d1a39b2ab9f715be1138976a2b
radeonsi: move index buffer flushing into a non-upload indexed case

The other codepaths don't need this.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state_draw.c