summaryrefslogtreecommitdiffstats
path: root/src/glsl/tests/sexps.py
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2015-11-14 15:13:28 +1100
committerTimothy Arceri <[email protected]>2015-11-21 07:28:06 +1100
commit02d2ab23786a0f4ef635914801da97faf577197a (patch)
tree0c69595d3a9353675724b225de41cee8afdd4a7c /src/glsl/tests/sexps.py
parent0954b813a3a356b5836f4169783b8c8c58ff2158 (diff)
glsl: add support for complie-time constant expressions
This patch replaces the old interger constant qualifiers with either the new ast_layout_expression type if the qualifier requires merging or ast_expression if the qualifier can't have mulitple declarations or if all but the newest qualifier is simply ignored. We also update the process_qualifier_constant() helper to be similar to the one in the ast_layout_expression class, but in this case it will be used to process the ast_expression qualifiers. Global shader layout qualifier validation is moved out of the parser in this change as we now need to evaluate any constant expression before doing the validation. V2: Fix minimum value check for vertices (Emil) Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/glsl/tests/sexps.py')
0 files changed, 0 insertions, 0 deletions