diff options
author | Chris Forbes <[email protected]> | 2014-06-12 19:48:58 +1200 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2014-06-26 07:58:01 +1200 |
commit | d4703f94460b4571c82167dbe29207c448aeed7c (patch) | |
tree | 47e77b9d56d45b09b53604d24687e680911fbb01 /src/glsl/ast_to_hir.cpp | |
parent | 316dafa27d237c9b70580d8fe4591792e939bcd6 (diff) |
glsl: Relax combinations of layout qualifiers with other qualifiers.
Previously we disallowed any combination of layout with interpolation,
invariant, or precise qualifiers. There is very little spec guidance on
exactly which combinations should be allowed, but with ARB_sso it's
useful to allow these qualifiers with rendezvous-by-location.
Since it's unclear exactly where the layout qualifier should appear when
combined with other qualifiers, we will allow it anywhere before the
auxiliary storage qualifier.
This allows enough flexibility for all examples I've seen, while keeping
the auxiliary-storage-qualifier / storage-qualifier pair together (as
they are a single qualifier in the spec prior to
ARB_shading_language_420pack)
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ast_to_hir.cpp')
0 files changed, 0 insertions, 0 deletions