HLSL: Smear scalars to match vectors for relational operations.

Yield a vector relational compare and a vector result.
This commit is contained in:
John Kessenich 2016-08-07 19:14:22 -06:00
parent 267590d452
commit 4583b61e20
6 changed files with 168 additions and 22 deletions

View file

@ -8,6 +8,15 @@ float4 PixelShaderFunction(float4 input, float f) : COLOR0
u = float(1);
u = float(2.0);
u = float(f);
float2 w = 2.0;
float V = 1;
float3 MyVal = V;
float3 foo;
foo > 4.0;
foo >= 5.0;
6.0 < foo;
7.0 <= foo;
return input;
}