summaryrefslogtreecommitdiffstats
path: root/src/intel/common/gen_decoder.h
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2017-04-02 15:54:14 +0100
committerLionel Landwerlin <[email protected]>2017-04-03 20:45:34 +0100
commit04f2e802576b914b913137cd1f47f23c93884733 (patch)
treec0ea0b0200482faa7c5a841e311de0951431f36c /src/intel/common/gen_decoder.h
parent1e9e747d001dc6d61f11487090408a570c9ceddf (diff)
intel: gen_decoder: store pointer to current decoded field in iterator
Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/intel/common/gen_decoder.h')
-rw-r--r--src/intel/common/gen_decoder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/common/gen_decoder.h b/src/intel/common/gen_decoder.h
index 1c41de80a4a..ab01d6dd8b5 100644
--- a/src/intel/common/gen_decoder.h
+++ b/src/intel/common/gen_decoder.h
@@ -58,6 +58,7 @@ struct gen_field_iterator {
const uint32_t *p;
int dword; /**< current field starts at &p[dword] */
int i;
+ struct gen_field *field;
bool print_colors;
};