diff options
author | Kenneth Graunke <[email protected]> | 2014-06-28 17:54:47 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-06-30 14:05:27 -0700 |
commit | 707c42cb9601c64aa8dc7ac8d277b56d0a6b34a4 (patch) | |
tree | 83aaded442f2c4e3e8887bec5914b3699001e321 /src/mesa | |
parent | df4eeed0befc39385f3baa40b4f38183b9c76363 (diff) |
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 <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_disasm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c index 7773ad9be45..e40938ab9e8 100644 --- a/src/mesa/drivers/dri/i965/brw_disasm.c +++ b/src/mesa/drivers/dri/i965/brw_disasm.c @@ -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; |