radeonsi: don't flush shader caches when building PM4 shader states
authorMarek Olšák <marek.olsak@amd.com>
Tue, 23 Sep 2014 15:25:41 +0000 (17:25 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 4 Oct 2014 13:16:14 +0000 (15:16 +0200)
commit90611297fa9a84996a7915c588e92725272c0ce0
tree5b4f8f2a3e1f9cbb0c3f105547d27efb46db3978
parent10e386f4aa3ef8ce1c60ec5be0865cc61bd093e2
radeonsi: don't flush shader caches when building PM4 shader states

This is a wrong place to flush caches to say the least.

I don't think we need to flush the instruction caches if we don't patch
shaders with DMA.

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