radeonsi: improve and fix streamout flushing
authorMarek Olšák <marek.olsak@amd.com>
Tue, 30 Dec 2014 15:45:51 +0000 (16:45 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 7 Jan 2015 11:06:43 +0000 (12:06 +0100)
commitca9c5b2be5ed6aa34032264432bb5465d37641ed
tree47b7a05bccf5e9ce03a26514618472044e0d8b0c
parent18a30c97780bef9c498db915ba5e7debe832f576
radeonsi: improve and fix streamout flushing

- we don't usually need to flush TC L2
- we should flush KCACHE
  (not really an issue now since we always flush KCACHE when updating
   descriptors, but it could be a problem if we used CE, which doesn't
   require flushing KCACHE)
- add an explicit VS_PARTIAL_FLUSH flag

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