i965: Combine {brw,gen7}_update_texture_buffer_surface() functions.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Nov 2013 03:05:27 +0000 (20:05 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 6 Nov 2013 01:59:53 +0000 (17:59 -0800)
commit39ebb72e52779b2975bfea3f08b91b7409f4a95c
tree2560f6a877421796014d17e117fafc4e3891399c
parent7a974a645e8b5c6a9aca3cc935a5a95cd9f33af8
i965: Combine {brw,gen7}_update_texture_buffer_surface() functions.

Now that brw_update_texture_buffer_surface() uses the virtual
emit_buffer_surface_state() function, it works for Gen7+ too.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
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