i965: Disable hex offset printing in disassembly.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 17 Jul 2014 23:29:41 +0000 (16:29 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 21 Jul 2014 18:19:08 +0000 (11:19 -0700)
commit662f1ccc248c5f978b67b63276b0b0b00f5f68ca
treefd0e9cc61d70ccce03b8b2a3a2cd0d3a8606d9ab
parent3e9105f7eefae97c928034662f67019973b9e483
i965: Disable hex offset printing in disassembly.

Printing the hex offsets makes it basically impossible to diff assembly:
if you add even a single instruction, the entire shader shows up as a
difference.  So, every time I want to compare assembly, I have to strip
this out.

The hex offsets might be useful when debugging compaction, or when
inspecting the program cache buffer.  Since it's occasionally useful,
but uncommon, this patch disables it by default, but makes it easy to
re-enable it temporarily when the need arises.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_eu.c