glsl: remove excess location qualifier validation
authorTimothy Arceri <timothy.arceri@collabora.com>
Thu, 22 Oct 2015 05:18:44 +0000 (16:18 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Fri, 23 Oct 2015 06:05:56 +0000 (17:05 +1100)
commit3994ef5f1b7386c17dff532cb5d04a7823520c7a
tree4ee665f5619dc92c09d61d00d405383662110f95
parent5145243018e4456994e73bffdb0296b8fedd6fbe
glsl: remove excess location qualifier validation

Location has never been able to be a negative value because it has
always been validated in the parser.

Also the linker doesn't check for negatives like the comment claims.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/glsl/ast_to_hir.cpp