glsl: add validation for out layout qualifiers
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 9 Feb 2016 11:24:30 +0000 (22:24 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 31 Mar 2016 01:50:08 +0000 (12:50 +1100)
commit5c2516fc3373f2e0ea234ef68791c8c0e4268e41
treea8b202bff978cc5d86358430b49807a4d0e7d1db
parent7b407fececeb0e0bcc0e54929db3ef6809655632
glsl: add validation for out layout qualifiers

This adds validation for all qualifiers as allowed by the
table in Section 4.4 (Layout Qualifiers) of the GLSL 4.5 spec.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/ast_type.cpp