i965/barrier: Do the correct flushes for framebuffer access
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jun 2017 05:28:25 +0000 (22:28 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 13 Oct 2017 02:58:40 +0000 (19:58 -0700)
commitd9ed4f6c32b4cb1d7e0f41b1f342c336e70c0af4
tree97d232d54ff8a56601d00c44b0b8f6639678317f
parent45991479a3f83501652240a66424a7b64a93e4d7
i965/barrier: Do the correct flushes for framebuffer access

Framebuffer access includes framebuffer reads so we need to invalidate
the texture cache.  We do not, however, need to flush the depth cache
because you cannot do bind a depth texture as an image.

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