i965: Upload surface state for non-coherent framebuffer fetch.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 1 Jul 2016 20:56:47 +0000 (13:56 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 26 Aug 2016 01:36:08 +0000 (18:36 -0700)
commit786108e7b27e4728353d69ff60aa046987859d8e
tree078bf09a5d35e969f6f08551c91f7c34fd196cd1
parentdc96968dbf7b359a24a991def16e382379f4b11a
i965: Upload surface state for non-coherent framebuffer fetch.

This iterates over the list of attached render buffers and binds
appropriate surface state structures to the binding table block
allocated for shader framebuffer read.

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