summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-11-27 23:21:56 -0800
committerIan Romanick <[email protected]>2013-01-25 09:07:33 -0500
commit0d2e6336a21e20afe37861030ac2161aadd0499e (patch)
treefa9f9fc92eba8c2e9b35d6e23c81ffe8857cc7bd /src/glsl/ast.h
parentb226a058dbb59a24254a149be182a08bcb10bee3 (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