mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-04 23:40:33 +01:00
[965] Replace XXX comment about constant swizzle with an assert.
This commit is contained in:
parent
61760105df
commit
7eca6be25f
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue