summaryrefslogtreecommitdiffstats
path: root/src/intel/tools/decoder.h
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2016-10-14 17:04:50 +0100
committerLionel Landwerlin <[email protected]>2016-11-01 22:37:22 +0000
commitc8806eeefc63e70e7c454f4c85d2a8b4426c34b9 (patch)
tree5f7941d0ff3a42aa62443a1f671bbb01ecde8c72 /src/intel/tools/decoder.h
parentd3244c47ceb5f979063decfee65a712c975f4be0 (diff)
intel: aubinator: print boolean fields to true with colors
Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Sirisha Gandikota<[email protected]>
Diffstat (limited to 'src/intel/tools/decoder.h')
-rw-r--r--src/intel/tools/decoder.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/intel/tools/decoder.h b/src/intel/tools/decoder.h
index bbeaa0ac831..9a677beab50 100644
--- a/src/intel/tools/decoder.h
+++ b/src/intel/tools/decoder.h
@@ -55,6 +55,7 @@ struct gen_field_iterator {
char value[128];
const uint32_t *p;
int i;
+ bool print_colors;
};
struct gen_group {
@@ -101,7 +102,9 @@ struct gen_field {
};
void gen_field_iterator_init(struct gen_field_iterator *iter,
- struct gen_group *group, const uint32_t *p);
+ struct gen_group *group,
+ const uint32_t *p,
+ bool print_colors);
bool gen_field_iterator_next(struct gen_field_iterator *iter);