glsl: allow layout qualifier overrides with ARB_shading_language_420pack
authorDave Airlie <airlied@redhat.com>
Mon, 23 May 2016 04:29:09 +0000 (14:29 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 23 May 2016 06:19:57 +0000 (16:19 +1000)
commitaaa69c79cd584db4d9c6ea7794e93d29f3d54572
tree3987e6e40c0b2351b7fe2defcd8305cb723051e6
parent6f2dc0d04498a1d03f02a4b72480e8b409981432
glsl: allow layout qualifier overrides with ARB_shading_language_420pack

GLSL 4.20 allows overriding the layout qualifiers.

This helps fix:
GL45-CTS.shading_language_420pack.qualifier_override_layout

Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/ast_type.cpp