HLSL: small fix for index type in f16tof32 opcode
authorsteve-lunarg <steve_gh@khasekhemwy.net>
Tue, 28 Feb 2017 21:14:14 +0000 (14:14 -0700)
committersteve-lunarg <steve_gh@khasekhemwy.net>
Tue, 28 Feb 2017 21:15:32 +0000 (14:15 -0700)
commitfdbfb65ec7d0d83322aa1d30010920b1d1acc64b
tree7ce63f93ba3fa93e0737d53b703a3cb241b9d95b
parent69a2c696492b76b846bb8bb44a4f00bcdb7235a0
HLSL: small fix for index type in f16tof32 opcode

The f16tof32 opcode was indexing a vector with a float 0, rather
than an int 0.  It may have made no functional difference due to the
identical bit pattern, but code looking at the type could be
confused.
Test/baseResults/hlsl.intrinsics.f1632.frag.out
Test/baseResults/hlsl.intrinsics.negative.frag.out
hlsl/hlslParseHelper.cpp