i965: Refactor texture swizzle generation into a helper.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 7 Sep 2012 20:24:16 +0000 (13:24 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 27 Sep 2012 05:58:30 +0000 (22:58 -0700)
commitb5a042a657fed45264406cbd0d67fa6217a410a1
tree5875fbfc465a496ef21d86ad98c2487345ba948b
parentff947c6d65830b7be6e9fcbfe666fa7dba6341f6
i965: Refactor texture swizzle generation into a helper.

It's going to be reused in a second place soon.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c