i965: Make INTEL_DEBUG=state ignore state flags with a count of 1.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 3 Dec 2014 07:44:30 +0000 (23:44 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 3 Jan 2015 09:45:15 +0000 (01:45 -0800)
commit916516b251071ad2b64ef6201f95cebec5010af6
tree46cc8d953e8513ebd74d3c1a2bd7cc39dde7f277
parent408e298942ffb03c00e05dce2569c291df6bec49
i965: Make INTEL_DEBUG=state ignore state flags with a count of 1.

There are too many state flags to fit in one terminal screen, even with
a very tall terminal.  Everything is flagged once, so a value of 1 means
that it hasn't ever happened again, and thus isn't terribly interesting.

Skipping those makes it easier to see the interesting values.

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