i965: Add a function to disassemble an instruction from the 4 dwords.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 6 Feb 2015 08:36:26 +0000 (00:36 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 17 Feb 2015 23:24:15 +0000 (15:24 -0800)
commit27b6ef7ecaa60ce192ec74eef2245c25ed4e703b
tree9bcc12e13f5fdcb239d6e122b636bb8cb23ab1bd
parent0b499abb51c80867ad034f2a6d9fcb1e86d021cc
i965: Add a function to disassemble an instruction from the 4 dwords.

I used this a while back when debugging GPU hangs, and it seems like it
could be useful, so I figured I'd add it so people can use it in the
debugger.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_disasm.c