summaryrefslogtreecommitdiffstats
path: root/src/intel/tools/decoder.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-03-19 21:24:24 -0700
committerKenneth Graunke <[email protected]>2017-03-20 11:20:51 -0700
commit7f21cb56b8530d44fe9c7ad7cb624a3ed047c5e9 (patch)
treef0dd21ab71e43a5d2e5b067aaf207c591eb2b8cc /src/intel/tools/decoder.h
parent2c6c760a4b41f836bb84618b3124fd6356c285dd (diff)
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 <[email protected]>
Diffstat (limited to 'src/intel/tools/decoder.h')
-rw-r--r--src/intel/tools/decoder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/tools/decoder.h b/src/intel/tools/decoder.h
index b17be1d5fbf..7b14ef4a647 100644
--- a/src/intel/tools/decoder.h
+++ b/src/intel/tools/decoder.h
@@ -60,6 +60,7 @@ struct gen_field_iterator {
};
struct gen_group {
+ struct gen_spec *spec;
char *name;
int nfields;
struct gen_field **fields;