glsl: remove duplicate validation for index layout qualifier
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 13 Nov 2015 04:16:20 +0000 (15:16 +1100)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Fri, 20 Nov 2015 20:27:04 +0000 (07:27 +1100)
commit1d87d6f9ca543631b2bc30ac8d82b6a23159fb55
tree5812ad81b9f59f078c6b0a8ef4f70f0d8237eb01
parentd1f23545a1416ffa476a3685e39380701cbfc4fd
glsl: remove duplicate validation for index layout qualifier

The minimum value for index is validated in apply_explicit_location()
and we want to remove validation from the parser so we can add
compile time constant support.

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