HLSL: Include shape-changing conversions in overloaded signature selection.
authorJohn Kessenich <cepheus@frii.com>
Thu, 25 Aug 2016 21:57:56 +0000 (15:57 -0600)
committerJohn Kessenich <cepheus@frii.com>
Fri, 26 Aug 2016 05:57:39 +0000 (23:57 -0600)
commite3f2c8f98ac45549c2b72a0e6f44483fac4fb58d
tree521d684fd4d87f6328f01fe41d61611f081ca86b
parent90dd70f752645863524bb91040d5631236f0d017
HLSL: Include shape-changing conversions in overloaded signature selection.

This also enables vecN -> vec1 shape conversions for all places doing shape
conversions.

For signature selection, makes shape changes worse than any other comparison
when deciding what conversions are better than others.
Test/baseResults/hlsl.intrinsics.negative.frag.out
Test/baseResults/hlsl.overload.frag.out
Test/hlsl.overload.frag
glslang/Include/revision.h
glslang/MachineIndependent/Intermediate.cpp
hlsl/hlslParseHelper.cpp