[Mesa-dev] [PATCH 22/33] intel: decoder: expose missing find_enum()
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Mon Oct 30 16:58:35 UTC 2017
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
src/intel/common/gen_decoder.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/intel/common/gen_decoder.h b/src/intel/common/gen_decoder.h
index 658dd7f7b09..81b5beb5baf 100644
--- a/src/intel/common/gen_decoder.h
+++ b/src/intel/common/gen_decoder.h
@@ -52,6 +52,8 @@ uint32_t gen_spec_get_gen(struct gen_spec *spec);
struct gen_group *gen_spec_find_instruction(struct gen_spec *spec, const uint32_t *p);
struct gen_group *gen_spec_find_register(struct gen_spec *spec, uint32_t offset);
struct gen_group *gen_spec_find_register_by_name(struct gen_spec *spec, const char *name);
+struct gen_enum *gen_spec_find_enum(struct gen_spec *spec, const char *name);
+
int gen_group_get_length(struct gen_group *group, const uint32_t *p);
const char *gen_group_get_name(struct gen_group *group);
uint32_t gen_group_get_opcode(struct gen_group *group);
--
2.15.0.rc2
More information about the mesa-dev
mailing list