mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
i965/disasm: Mark ELSE as having UIP on Gen8+.
This makes brw_disasm.c able to disassemble ELSE instructions correctly on Broadwell. (gen8_disasm.c already handles this correctly.) Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
This commit is contained in:
parent
df4eeed0be
commit
707c42cb96
1 changed files with 1 additions and 0 deletions
|
|
@ -119,6 +119,7 @@ has_uip(struct brw_context *brw, enum opcode opcode)
|
|||
return false;
|
||||
|
||||
return (brw->gen >= 7 && opcode == BRW_OPCODE_IF) ||
|
||||
(brw->gen >= 8 && opcode == BRW_OPCODE_ELSE) ||
|
||||
opcode == BRW_OPCODE_BREAK ||
|
||||
opcode == BRW_OPCODE_CONTINUE ||
|
||||
opcode == BRW_OPCODE_HALT;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue