glsl: verify location when dual source blending
authorTapani Pälli <tapani.palli@intel.com>
Fri, 3 Jul 2015 07:19:23 +0000 (10:19 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 29 Jul 2015 05:17:55 +0000 (08:17 +0300)
commite17056f5a20beb752a530180fce1aba0e68877b6
tree7e23efad4cdc1edc23effb27d36903c829b205cc
parentb868971e786b849e70675852a0043538bcce0739
glsl: verify location when dual source blending

Same check is made for glBindFragDataLocationIndexed but it was missing
when using layout qualifiers.

Fixes following Piglit test:
arb_blend_func_extended-output-location

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
src/glsl/linker.cpp