glsl: set glsl error if binding qualifier used on global scope
authorTapani Pälli <tapani.palli@intel.com>
Mon, 5 Oct 2015 09:50:10 +0000 (12:50 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Mon, 5 Oct 2015 11:44:24 +0000 (14:44 +0300)
commita90feb581a1c0e63bf13aace5d11b6532e881313
tree97ba514f2d2e2fd548ac52751e29a017ba04a522
parent102f6c446b6585b00e1c1cd3c838f7b0899e49a9
glsl: set glsl error if binding qualifier used on global scope

Fixes following Piglit test:
global-scope-binding-qualifier.frag

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/glsl/glsl_parser.yy