glsl: Merge blend_support qualifiers when linking.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 28 Jun 2016 17:02:06 +0000 (10:02 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 26 Aug 2016 02:22:09 +0000 (19:22 -0700)
commit80df3c030e061aa8b72f7032125532ce98524d0c
tree5d5f61d9e3e7eaa8ed64cc5dd8791f4d658daeb6
parent4b6819b407220f5d7d97a40ed9474d7673448370
glsl: Merge blend_support qualifiers when linking.

Since each qualifier represents a blending mode the shader can be used
with, we take the union of all possible modes when linking.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/compiler/glsl/linker.cpp