i965/disasm: Disassemble indirect sends more properly
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 6 Jul 2014 08:11:07 +0000 (20:11 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Fri, 11 Jul 2014 23:29:17 +0000 (11:29 +1200)
commitf55e9a7c75b1a8539a9babab011c70b6442e2e2d
tree8f071ad386777909678231523c36875244cf0527
parent1854ead64ca465ca03e8e5369cd1749bc92c315a
i965/disasm: Disassemble indirect sends more properly

- Don't try to disassemble send's src1 as a descriptor if it's not an
  immediate.

- In the same case, show src1 as an operand (makes it easier to see
  bogus register regions, etc -- the hardware is very fussy)

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_disasm.c