i965: Modify signature to update_texture_surface functions.
authorPaul Berry <stereotype441@gmail.com>
Sun, 25 Aug 2013 15:50:57 +0000 (08:50 -0700)
committerPaul Berry <stereotype441@gmail.com>
Sun, 1 Sep 2013 00:12:53 +0000 (17:12 -0700)
commit5a8033f142e86ed51511c695138cacaf4532e6cf
tree1b4c66f194c53c012566acbed96d7d647132402b
parentf560ce4a38f1316586ad2650488f1a812cfab058
i965: Modify signature to update_texture_surface functions.

Previously these functions would accept a pointer to the binding table
and an index indicating which entry in the binding table should be
updated.  Now they merely take a pointer to the binding table entry to
be updated.

This will make it easier to generalize brw_texture_surfaces to support
geometry shaders.

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