diff options
author | Eric Anholt <eric@anholt.net> | 2008-01-31 16:16:29 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-02-01 16:02:37 -0800 |
commit | 7eca6be25f31cbbe5b72a70bf6b1e17c0e6df34d (patch) | |
tree | 37e2881d81537ae1ae8c6087218b7540aa4b0e14 /src/mesa/drivers/dri/i965/brw_vs_tnl.c | |
parent | 61760105df37c5a025150fedf6e2a51c738110e0 (diff) |
[965] Replace XXX comment about constant swizzle with an assert.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs_tnl.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs_tnl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_tnl.c b/src/mesa/drivers/dri/i965/brw_vs_tnl.c index 73e56a58cf..b8231fc1d2 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_tnl.c +++ b/src/mesa/drivers/dri/i965/brw_vs_tnl.c @@ -404,7 +404,7 @@ static struct ureg register_const4f( struct tnl_program *p, values[3] = s3; idx = _mesa_add_unnamed_constant( p->program->Base.Parameters, values, 4, &swizzle); - /* XXX what about swizzle? */ + assert(swizzle == SWIZZLE_NOOP); /* Need to handle swizzle in reg setup */ return make_ureg(PROGRAM_STATE_VAR, idx); } |