diff options
author | Lionel Landwerlin <[email protected]> | 2017-09-22 18:00:25 +0100 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2017-11-01 13:19:20 +0000 |
commit | 957a6eea7a674205c9990de1a682a19a94f9b7f2 (patch) | |
tree | eec83dd6bf2aa257502e33f5d058cf8c9aea2431 /src/intel/common/gen_decoder.h | |
parent | f0ab3f76350eadff288153cf8a58536d6bd0761a (diff) |
intel: common: expose gen_spec fields
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Scott D Phillips <[email protected]>
Diffstat (limited to 'src/intel/common/gen_decoder.h')
-rw-r--r-- | src/intel/common/gen_decoder.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/intel/common/gen_decoder.h b/src/intel/common/gen_decoder.h index 12d4551a127..ba9a19b55fe 100644 --- a/src/intel/common/gen_decoder.h +++ b/src/intel/common/gen_decoder.h @@ -68,6 +68,19 @@ struct gen_field_iterator { bool print_colors; }; +struct gen_spec { + uint32_t gen; + + uint32_t ncommands; + struct gen_group *commands[256]; + uint32_t nstructs; + struct gen_group *structs[256]; + uint32_t nregisters; + struct gen_group *registers[256]; + uint32_t nenums; + struct gen_enum *enums[256]; +}; + struct gen_group { struct gen_spec *spec; char *name; |