static unsigned
bi_pack_add_select(bi_instruction *ins, bi_registers *regs)
{
- unsigned size = nir_alu_type_get_type_size(ins->src_types[0]);
+ ASSERTED unsigned size = nir_alu_type_get_type_size(ins->src_types[0]);
assert(size == 16);
unsigned swiz = (ins->swizzle[0][0] | (ins->swizzle[1][0] << 1));
bi_pack_add_cmp(bi_instruction *ins, bi_registers *regs)
{
nir_alu_type Tl = ins->src_types[0];
- nir_alu_type Tr = ins->src_types[1];
+ ASSERTED nir_alu_type Tr = ins->src_types[1];
nir_alu_type Bl = nir_alu_type_get_base_type(Tl);
if (Bl == nir_type_uint || Bl == nir_type_int) {
{
/* After these two, are we done? Determines tag */
bool done = clause->constant_count <= (index + 2);
- bool only = clause->constant_count <= (index + 1);
+ ASSERTED bool only = clause->constant_count <= (index + 1);
/* Is the constant we're packing for a branch? */
bool branches = clause->branch_constant && done;