i965: Implement glBlendBarrier.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 1 Jul 2016 20:54:05 +0000 (13:54 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 26 Aug 2016 01:36:08 +0000 (18:36 -0700)
commitecc4800383fb67cd274154469d933c6050782208
treef86765b0cc7c06f68b1a6faa77d34a9332a3afd1
parent786108e7b27e4728353d69ff60aa046987859d8e
i965: Implement glBlendBarrier.

This is a no-op if the platform supports coherent framebuffer fetch,
-- If it doesn't we just need to flush the render cache and invalidate
the texture cache in order for previous rendering to be visible to
framebuffer fetch.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_program.c