glsl: move location layout qualifier validation
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 13 Nov 2015 04:10:57 +0000 (15:10 +1100)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Fri, 20 Nov 2015 20:27:00 +0000 (07:27 +1100)
commitd1f23545a1416ffa476a3685e39380701cbfc4fd
treea39e328367d4d728e94db6b284893581d3518040
parentde8f0c9ab99ac6140f6560e776a42a22eeff6721
glsl: move location layout qualifier validation

We are moving this out of the parser in preparation for compile
time constant support.

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/glsl/ast_to_hir.cpp
src/glsl/glsl_parser.yy