diff options
author | Eric Anholt <[email protected]> | 2012-04-26 18:19:39 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-07-20 10:43:12 -0700 |
commit | f7561e8ecd80e915150ca63c0c79a5f9839c8e12 (patch) | |
tree | 76d52d4b5a5b69a0b8d3ac06f3bdd79ff302400a /src/glsl/ast.h | |
parent | cdad337fec39d788a4b04de080a51d0ea1325e10 (diff) |
glsl: Turn UBO variable declarations into ir_variables and check qualifiers.
Fixes piglit layout-*-non-uniform and layout-*-within-block.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/ast.h')
-rw-r--r-- | src/glsl/ast.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glsl/ast.h b/src/glsl/ast.h index 4438b85bbda..de3f2dfeb0b 100644 --- a/src/glsl/ast.h +++ b/src/glsl/ast.h @@ -513,6 +513,12 @@ public: * is used to note these cases when no type is specified. */ int invariant; + + /** + * Flag indicating that these declarators are in a uniform block, + * allowing UBO type qualifiers. + */ + bool ubo_qualifiers_valid; }; |