i965: Use aubinator/genxml for INTEL_DEBUG=bat commands.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 15 Mar 2017 00:32:03 +0000 (17:32 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 21 Mar 2017 20:49:13 +0000 (13:49 -0700)
commit5fab46572f18cc62052a1d446f6709a4bfa88249
tree05ae935a6b437a376eddfe1dc258fd7736930ec5
parent7d84bb32aa6698211bfe4697609501ad94a266b9
i965: Use aubinator/genxml for INTEL_DEBUG=bat commands.

This should give substantially better decoding, as the public libdrm
decoder hasn't been properly maintained in years.

For now, we reuse the existing state dumping mechanism.  We'll improve
that in the next patch.

To avoid increasing the size of the driver, we restrict this feature
to debug builds of Mesa.  There's probably very little use for it in
release builds anyway.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/drivers/dri/i965/intel_batchbuffer.c