summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_wm_fp.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-01-31 16:16:29 -0800
committerEric Anholt <eric@anholt.net>2008-02-01 16:02:37 -0800
commit7eca6be25f31cbbe5b72a70bf6b1e17c0e6df34d (patch)
tree37e2881d81537ae1ae8c6087218b7540aa4b0e14 /src/mesa/drivers/dri/i965/brw_wm_fp.c
parent61760105df37c5a025150fedf6e2a51c738110e0 (diff)
[965] Replace XXX comment about constant swizzle with an assert.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm_fp.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_fp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_fp.c b/src/mesa/drivers/dri/i965/brw_wm_fp.c
index 1b26005169..55527373bc 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_fp.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_fp.c
@@ -464,7 +464,7 @@ static struct prog_src_register search_or_add_const4f( struct brw_wm_compile *c,
}
idx = _mesa_add_unnamed_constant( paramList, values, 4, &swizzle );
- /* XXX what about swizzle? */
+ assert(swizzle == SWIZZLE_NOOP); /* Need to handle swizzle in reg setup */
return src_reg(PROGRAM_STATE_VAR, idx);
}