diff options
author | Kenneth Graunke <[email protected]> | 2012-11-27 23:21:56 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-01-25 09:07:33 -0500 |
commit | 0d2e6336a21e20afe37861030ac2161aadd0499e (patch) | |
tree | fa9f9fc92eba8c2e9b35d6e23c81ffe8857cc7bd /src/glsl/ast.h | |
parent | b226a058dbb59a24254a149be182a08bcb10bee3 (diff) |
glsl: Refactor uniform block parser rules.
The existing code has a lot of duplication; the only difference between
the two cases is whether we merge in an additional layout qualifier.
Apparently creating a layout_qualifieropt rule that can be empty causes
a lot of conflicts and confusion. However, refactoring out the guts of
the ast_uniform_block creation works fine.
Reviewed-by: Carl Worth <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ast.h')
0 files changed, 0 insertions, 0 deletions