summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2015-12-01 10:34:18 +1100
committerTimothy Arceri <[email protected]>2015-12-15 13:10:44 +1100
commit0aeb9b3e5eab57ae5d96047cee7b2c58811b455b (patch)
tree92d2368f2f6e7122cd6ec95aa4fa6167f5eb3b32 /src/glsl/ast.h
parent183c606066b1b260acb189e46a40cb71e63b44aa (diff)
glsl: add support for explicit locations inside interface blocks
This change also adds explicit location support for structs and interfaces which is currently missing in Mesa but is allowed with SSO and GLSL 1.50+. Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/glsl/ast.h')
-rw-r--r--src/glsl/ast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ast.h b/src/glsl/ast.h
index adfc7938bff..f8ab0b71b7b 100644
--- a/src/glsl/ast.h
+++ b/src/glsl/ast.h
@@ -726,6 +726,7 @@ public:
struct _mesa_glsl_parse_state *state);
const char *name;
+ ast_type_qualifier *layout;
/* List of ast_declarator_list * */
exec_list declarations;
bool is_declaration;