HLSL: Fix issue #442, smear and truncate shape conversions for == and !=.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user