i965: Dump brw_state_batch data in an easier format for cross-referencing.
authorEric Anholt <eric@anholt.net>
Wed, 22 Jun 2011 23:10:56 +0000 (16:10 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 11 Jul 2011 16:27:26 +0000 (09:27 -0700)
commit709a7af2afd72283f3532e5574fbfdef91f70e28
tree51a0cb2854f00e0f29f1f3b8d6ace9a29ef1f1e5
parentd4846674232112bc3c7ad583e0daec0dfa2a3d26
i965: Dump brw_state_batch data in an easier format for cross-referencing.

Now that we're using state base addresses for most things, we're less
interested in the absolute address of the state, and more in its
offset from the state base address (start of batchbuffer).  Also,
reorder the printout so it looks more like the batchbuffer dump.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_state_dump.c