i965/gen7: Factor out texture surface state set-up from gen7_update_texture_surface().
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 13 Apr 2015 18:37:02 +0000 (21:37 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 27 Apr 2015 14:28:28 +0000 (17:28 +0300)
commit6f26ffaf66affb6563e548646fb6d6a049fe6bff
treeab5f830cb41c784b3b522cb4cf636f4168ec68c2
parente94c80c08b1744fb06dcdd083b92b97971e03892
i965/gen7: Factor out texture surface state set-up from gen7_update_texture_surface().

This moves most of the surface state set-up logic that can be shared
between textures and shader images to a separate function.
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c