r600g: Replace needless flush in texture upload.
authorMathias Fröhlich <Mathias.Froehlich@gmx.net>
Tue, 26 Jul 2011 05:05:10 +0000 (07:05 +0200)
committerMathias Fröhlich <Mathias.Froehlich@web.de>
Sat, 29 Oct 2011 16:36:42 +0000 (18:36 +0200)
commite8139ebf583acf37150a8b341bcbef6b924a7792
tree983a48288f7aef7fceaf810a94db83e1e5192386
parent7684808f9ce2da944be3ca9cc1ac4661d9b167fb
r600g: Replace needless flush in texture upload.

Replace pipe->flush() with pipe->texture_barrier() in
the texture upload path for the staging texture.
This should be enough to get data out of the gpu
caches ready to be read for texture fetch.
src/gallium/drivers/r600/r600_texture.c