[Mesa-dev] [PATCH] r600g: Replace needless flush in texture upload.

Mathias Fröhlich Mathias.Froehlich at gmx.net
Sat Oct 22 04:36:37 PDT 2011


Hi,

The attached patch reduces the amount of pipe flushes for r600g.
I am not exactly sure if we could skip this flush entirely because of the 
internal r600g winsys flush logic.
But what we can do is the attached patch:

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.

Please review.

Thanks

Mathias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-r600g-Replace-needless-flush-in-texture-upload.patch
Type: text/x-patch
Size: 1080 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111022/6e4abd21/attachment.bin>


More information about the mesa-dev mailing list