projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glsl/parser: Track built-in types using the glsl_type directly
[mesa.git]
/
src
/
compiler
/
glsl
/
glsl_parser.yy
diff --git
a/src/compiler/glsl/glsl_parser.yy
b/src/compiler/glsl/glsl_parser.yy
index 0a5342571c6dce71cc8626089b6ef53079c58431..19147c7a3ec9db047adcd3dbd784fdfc189b284e 100644
(file)
--- a/
src/compiler/glsl/glsl_parser.yy
+++ b/
src/compiler/glsl/glsl_parser.yy
@@
-2189,7
+2189,7
@@
type_specifier_nonarray:
basic_type_specifier_nonarray
{
void *ctx = state->linalloc;
- $$ = new(ctx) ast_type_specifier($1
->name
);
+ $$ = new(ctx) ast_type_specifier($1);
$$->set_location(@1);
}
| struct_specifier