mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
i965/compaction: Don't set UIP on ELSE on Gen < 8.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
45c3ece266
commit
118021f929
1 changed files with 2 additions and 1 deletions
|
|
@ -1038,7 +1038,8 @@ update_uip_jip(struct brw_context *brw, brw_inst *insn,
|
|||
brw_inst_set_jip(brw, insn, jip * scale);
|
||||
|
||||
if (brw_inst_opcode(brw, insn) == BRW_OPCODE_ENDIF ||
|
||||
brw_inst_opcode(brw, insn) == BRW_OPCODE_WHILE)
|
||||
brw_inst_opcode(brw, insn) == BRW_OPCODE_WHILE ||
|
||||
(brw_inst_opcode(brw, insn) == BRW_OPCODE_ELSE && brw->gen <= 7))
|
||||
return;
|
||||
|
||||
int32_t uip = brw_inst_uip(brw, insn) / scale;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue