aubinator: Track the current field's starting dword offset.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 20 Mar 2017 04:45:20 +0000 (21:45 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 20 Mar 2017 18:20:51 +0000 (11:20 -0700)
commita1aa78cb45cee5ba6fa9ecf1266760cdbb51f5f3
tree26cf665b67271faf1dc4f8831898fbd77a1c22a2
parente6f7357cabd52ed29f5ea18c813af05b72c73b87
aubinator: Track the current field's starting dword offset.

The iterator code already computed this value, then we stored it in
the structure name, strtok'd it back out, and also manually computed
it when printing dword headers.

Just put the value in the struct and use it.  Way simpler.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/tools/aubinator.c
src/intel/tools/decoder.c
src/intel/tools/decoder.h