aubinator: Store a pointer from gen_group back to gen_spec.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 20 Mar 2017 04:24:24 +0000 (21:24 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 20 Mar 2017 18:20:51 +0000 (11:20 -0700)
commit7f21cb56b8530d44fe9c7ad7cb624a3ed047c5e9
treef0dd21ab71e43a5d2e5b067aaf207c591eb2b8cc
parent2c6c760a4b41f836bb84618b3124fd6356c285dd
aubinator: Store a pointer from gen_group back to gen_spec.

When decoding a structure field within a group, we may want to look up
that structure type.  Having a gen_spec pointer makes it easy to do so.

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