aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-01-15 12:43:10 +1100
committerTimothy Arceri <[email protected]>2016-01-20 08:06:50 +1100
commit6a660a5f5dad02a6594ea905c511ba3cae6862a5 (patch)
tree0041c81a83867d5741f7d7456abba01c74a48223 /src/mesa
parent564009986ff1485c467664542a9042e6ce4dcdfe (diff)
glsl: allow multiple layout qualifiers for a single declaration
From the ARB_shading_language_420pack spec: "More than one layout qualifier may appear in a single declaration. If the same layout-qualifier-name occurs in multiple layout qualifiers for the same declaration, the last one overrides the former ones." The parser was already failing correctly when the extension is not available but testing for duplicates within a single layout qualifier was still causing this to fail when available as both cases share the same function for merging. Here we add a parameter to differentiate between the two uses and apply it to the duplicate test. Acked-by: Matt Turner <[email protected]> Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions