Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
---
 src/intel/common/gen_decoder.c | 13 -------------
 src/intel/common/gen_decoder.h | 13 +++++++++++++
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/intel/common/gen_decoder.c b/src/intel/common/gen_decoder.c
index 85880143f00..395ff02908a 100644
--- a/src/intel/common/gen_decoder.c
+++ b/src/intel/common/gen_decoder.c
@@ -39,19 +39,6 @@
 
 #define XML_BUFFER_SIZE 4096
 
-struct gen_spec {
-   uint32_t gen;
-
-   int ncommands;
-   struct gen_group *commands[256];
-   int nstructs;
-   struct gen_group *structs[256];
-   int nregisters;
-   struct gen_group *registers[256];
-   int nenums;
-   struct gen_enum *enums[256];
-};
-
 struct location {
    const char *filename;
    int line_number;
diff --git a/src/intel/common/gen_decoder.h b/src/intel/common/gen_decoder.h
index cfc9f2e3f15..9c8fce2baa2 100644
--- a/src/intel/common/gen_decoder.h
+++ b/src/intel/common/gen_decoder.h
@@ -66,6 +66,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;
-- 
2.15.0.rc2

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

Reply via email to