HLSL: Fix issue #442, smear and truncate shape conversions for == and !=.
This commit is contained in:
parent
07350f3382
commit
841db35bb3
4 changed files with 84 additions and 12 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue