i965: Handle scalar result swizzling in shared GLSL/non-GLSL code.
authorEric Anholt <eric@anholt.net>
Wed, 12 Aug 2009 19:26:19 +0000 (12:26 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 12 Aug 2009 19:43:43 +0000 (12:43 -0700)
commit536476f2432168fb15ac06b52c953a594ad851ad
treeb19ee2947147fee6352202e15dcf084e92417f0d
parent792c49968efa20437edb8ca79d75b09e18e57af4
i965: Handle scalar result swizzling in shared GLSL/non-GLSL code.

This is preparation for merging of brw_wm_glsl.c and
brw_wm_emit.c, and glsl.c doesn't swizzle channel results around.
src/mesa/drivers/dri/i965/brw_wm.h
src/mesa/drivers/dri/i965/brw_wm_emit.c
src/mesa/drivers/dri/i965/brw_wm_fp.c
src/mesa/drivers/dri/i965/brw_wm_glsl.c
src/mesa/drivers/dri/i965/brw_wm_pass0.c