Added mesa

This commit is contained in:
Ella-0 2021-01-27 15:30:45 +00:00
parent 09e680bfa3
commit 71e71c1978
3 changed files with 198 additions and 0 deletions

View file

@ -0,0 +1,42 @@
--- build/src/compiler/glsl/glsl_parser.h
+++ build/src/compiler/glsl/glsl_parser.h
@@ -143,7 +143,7 @@
#endif
#ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1
-typedef union {
+union YYSTYPE {
int n;
int64_t n64;
float real;
@@ -182,7 +182,8 @@
} selection_rest_statement;
const glsl_type *type;
-} YYSTYPE;
+};
+typedef union YYSTYPE YYSTYPE;
#endif /* !YYSTYPE_IS_DECLARED */
#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
--- build/src/compiler/glsl/glsl_parser.cpp
+++ build/src/compiler/glsl/glsl_parser.cpp
@@ -212,7 +212,7 @@
#ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1
#line 101 "../src/compiler/glsl/glsl_parser.yy"
-typedef union {
+union YYSTYPE {
int n;
int64_t n64;
float real;
@@ -251,7 +251,8 @@
} selection_rest_statement;
const glsl_type *type;
-} YYSTYPE;
+};
+typedef union YYSTYPE YYSTYPE;
#endif /* !YYSTYPE_IS_DECLARED */
#line 257 "src/compiler/glsl/glsl_parser.cpp"