radeonsi: emit SURFACE_SYNC last
authorMarek Olšák <marek.olsak@amd.com>
Tue, 30 Dec 2014 17:41:25 +0000 (18:41 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 7 Jan 2015 11:06:43 +0000 (12:06 +0100)
commitd8185aa9a8e3588fe014faef8afaeae56d45e90b
tree050b638b39485392c466f05ef629505fb155350f
parent7c9ec6ca7ee30109f0bcf0f3f4bcee6fb30dac81
radeonsi: emit SURFACE_SYNC last

This fixes a case where a transform feedback buffer is fed back as an index
buffer, because SURFACE_SYNC must be after VS_PARTIAL_FLUSH.

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