From: Lionel Landwerlin Date: Tue, 1 May 2018 21:18:11 +0000 (+0100) Subject: intel: decoder: document when fields should be used X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=467430ddcc85be34bd79a3709b33e4510e3c9370;p=mesa.git intel: decoder: document when fields should be used Signed-off-by: Lionel Landwerlin Reviewed-by: Kenneth Graunke --- 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 {