From 467430ddcc85be34bd79a3709b33e4510e3c9370 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 1 May 2018 22:18:11 +0100 Subject: intel: decoder: document when fields should be used Signed-off-by: Lionel Landwerlin Reviewed-by: Kenneth Graunke --- src/intel/common/gen_decoder.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/intel/common') diff --git a/src/intel/common/gen_decoder.h b/src/intel/common/gen_decoder.h index 7d3bedca5b5..8324ff95696 100644 --- a/src/intel/common/gen_decoder.h +++ b/src/intel/common/gen_decoder.h @@ -103,7 +103,7 @@ struct gen_group { uint32_t dw_length; uint32_t group_offset, group_count; uint32_t group_size; - bool variable; + bool variable; /* specific */ bool fixed_length; /* True for & */ struct gen_group *parent; @@ -112,8 +112,7 @@ struct gen_group { uint32_t opcode_mask; uint32_t opcode; - /* Register specific */ - uint32_t register_offset; + uint32_t register_offset; /* specific */ }; struct gen_value { -- cgit v1.2.3