On Sat, 9 Jul 2011 01:56:19 -0700, Kenneth Graunke <kenn...@whitecape.org> wrote: > According to the GLSL 1.20 specification, "it is a semantic error if > there are multiple ways to apply [implicit] conversions [...] such that > the call can be made to match multiple signatures." > > Fixes a regression caused by 60eb63a855cb89962f2d5bb91e238ff2d1ab8702, > which implemented the wrong policy of finding a "closest" match. > However, this is not a revert, since the original code failed to > continue looking for an exact match once it found two inexact matches. > > It's OK to have multiple inexact matches if there's also an exact match. > > NOTE: This is a candidate for the 7.10 and 7.11 branches. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38971 > Signed-off-by: Kenneth Graunke <kenn...@whitecape.org>
Reviewed-by: Eric Anholt <e...@anholt.net>
pgpfNfmqXienN.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev