glsl: Add error checking for applying interpolation qualifiers to other vars.
authorEric Anholt <eric@anholt.net>
Tue, 10 Jan 2012 00:40:20 +0000 (16:40 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 11 Jan 2012 00:44:16 +0000 (16:44 -0800)
commit916e206ef0cbcc5fa6c4026135e92079e1d73ec2
tree3b0a0842708e01a504e515111cb7062999d4b6c3
parentbe4e46b21a60cfdc826bf89d1078df54966115b1
glsl: Add error checking for applying interpolation qualifiers to other vars.

Fixes piglit
glsl-1.30/compiler/interpolation-qualifiers/local-smooth-01.frag.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast_to_hir.cpp