HLSL: Fix issue #442, smear and truncate shape conversions for == and !=.

This commit is contained in:
John Kessenich
2016-09-02 21:12:23 -06:00
parent 07350f3382
commit 841db35bb3
4 changed files with 84 additions and 12 deletions

View File

@@ -9,14 +9,22 @@ float4 PixelShaderFunction(float4 input, float f) : COLOR0
u = float(2.0);
u = float(f);
float2 w = 2.0;
float V = 1;
float V = 1;
float3 MyVal = V;
float3 foo;
foo > 4.0;
foo >= 5.0;
float3 foo;
foo > 4.0;
foo >= 5.0;
6.0 < foo;
7.0 <= foo;
v.x == v;
f != v;
float1 f1;
f1 == v;
v < f1;
return input;
}