i965: When dumping programs, dump the whole cache. But don't by default.
authorEric Anholt <eric@anholt.net>
Thu, 23 Jun 2011 00:11:00 +0000 (17:11 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 11 Jul 2011 16:27:26 +0000 (09:27 -0700)
commit93c7a5da1121a4aebff2fc889af229cbfb7006f5
tree13109b5a09b96c6c645380697cf5bcf1c2eec2e7
parent6bbaa7c0e58cd477deb970cd52d281bb9f87486c
i965: When dumping programs, dump the whole cache.  But don't by default.

The previous brw_state_dump output was rather useless -- last used
program per batch, and just the hex.  Now we dump all programs (since
we don't know which were used), and disassemble them.  But that's a
ton of spam, and usually when looking into program contents we use
INTEL_DEBUG={vs,wm,misc,other} and when looking into state updates we
use INTEL_DEBUG=batch, so this dump usually just massively clutters up
the output.

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