Module: Mesa
Branch: master
Commit: bb16503542139bdd0acd1b77728f04fbc56d49e8
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb16503542139bdd0acd1b77728f04fbc56d49e8

Author: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Date:   Sat Sep 30 14:41:20 2017 +0100

intel: decoder: expose missing find_enum()

Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Reviewed-by: Scott D Phillips <scott.d.phill...@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 9ee5fb51c2..251582f712 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);

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to