glsl: reject invalid input layout qualifiers
authorTimothy Arceri <timothy.arceri@collabora.com>
Sat, 13 Feb 2016 05:17:12 +0000 (16:17 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Sat, 5 Mar 2016 08:07:09 +0000 (19:07 +1100)
commit1824ff1c2aa1800fde58e6c4ae2b8405baffc2a4
treed2577c6c7e9ed41141b198103a25318b851e5dd3
parentbd53cc7b450b288fec707a27fb2902aa83fc2831
glsl: reject invalid input layout qualifiers

Global in validation is already handled, this will do the validation
for variables, blocks and block members.

This fixes some CTS tests for the new enhanced layouts transform
feedback qualifiers.

V2: add some more valid input flags
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/compiler/glsl/ast_type.cpp