glsl: simplified error checking for duplicated layout-qualifiers
authorAndres Gomez <agomez@igalia.com>
Sat, 22 Oct 2016 14:04:33 +0000 (17:04 +0300)
committerAndres Gomez <agomez@igalia.com>
Fri, 25 Nov 2016 11:18:30 +0000 (13:18 +0200)
commit5132d0c7b695d838617bf586e730899c65361668
treec2fcaed84a13ee914324a27c2217386935b5d386
parent93f90d7795ba414c01ab6fe905f8b3f61eeaf7ef
glsl: simplified error checking for duplicated layout-qualifiers

The GLSL parser has been simplified to check for the needed
GL_ARB_shading_language_420pack extension just when merging the
qualifiers in the proper cases.

Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Signed-off-by: Andres Gomez <agomez@igalia.com>
src/compiler/glsl/ast_type.cpp
src/compiler/glsl/glsl_parser.yy