summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2017-03-15 17:53:44 -0700
committerKenneth Graunke <kenneth@whitecape.org>2017-03-21 13:49:15 -0700
commit705c38e96f1ea732dd85c72c85f988171697867c (patch)
treebd1d669354ff78d95c7d0ee95c1cbed1e9e82759 /src/intel
parent5fab46572f18cc62052a1d446f6709a4bfa88249 (diff)
i965: Use aubinator/genxml for INTEL_DEBUG=bat state decoding.
This deletes all of our handwritten code in favor of autogenerated genxml-based decoding. This should be much more usable, as the old code isn't entirely accurate - we updated some things for new generations, but not everything. Aubinator has one annoying limitation: it has no idea how many entries to print when encountering e.g. 3DSTATE_BINDING_TABLE_POINTERS_VS. It picks an arbitrary number, which may skip decoding valid data, and may print extra garbage entries. We do a better job here by making brw_state_batch track the size of the data stored at a particular batchbuffer offset. Then, we can divide by the structure size to obtain the exact number of entries. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'src/intel')
0 files changed, 0 insertions, 0 deletions