i965/barrier: Do the correct flushes for texture updates
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jun 2017 05:27:20 +0000 (22:27 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 13 Oct 2017 02:58:40 +0000 (19:58 -0700)
commit45991479a3f83501652240a66424a7b64a93e4d7
treea087664d3bba9cc3c4e10ec78f886413687ba365
parent2f1cdd71371009238e7dfbd94e466f34166b8d77
i965/barrier: Do the correct flushes for texture updates

Texture uploads and downloads may go through the render pipe which may
result in texturing from or rendering to the texture or the PBO.  We
need to flush accordingly.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_program.c