With my earlier cleaning in place (see git log brw_eu_emit.c), nothing
relies on the instruction emitters for IF/WHILE/JMPI disabling
predication. Drop it in favor of making callers do the right thing
explicitly.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
brw_ADD(p, c->reg.clipdistance_offset, c->reg.clipdistance_offset, brw_imm_w(sizeof(float)));
}
brw_WHILE(p);
+ brw_set_default_predicate_control(p, BRW_PREDICATE_NONE);
}
insn->header.mask_control = BRW_MASK_DISABLE;
insn->header.predicate_control = predicate_control;
- p->current->header.predicate_control = BRW_PREDICATE_NONE;
-
return insn;
}
if (!p->single_program_flow)
insn->header.thread_control = BRW_THREAD_SWITCH;
- p->current->header.predicate_control = BRW_PREDICATE_NONE;
-
push_if_stack(p, insn);
p->if_depth_in_loop[p->loop_stack_depth]++;
return insn;
}
}
insn->header.compression_control = BRW_COMPRESSION_NONE;
- p->current->header.predicate_control = BRW_PREDICATE_NONE;
p->loop_stack_depth--;