2016-07-28 23:53:56 +00:00
|
|
|
float4 PixelShaderFunction(float4 input, float f) : COLOR0
|
|
|
|
{
|
|
|
|
float4 v;
|
|
|
|
v = 1;
|
|
|
|
v = 2.0;
|
|
|
|
v = f;
|
|
|
|
float3 u;
|
|
|
|
u = float(1);
|
|
|
|
u = float(2.0);
|
|
|
|
u = float(f);
|
2016-08-08 01:14:22 +00:00
|
|
|
float2 w = 2.0;
|
2016-09-03 03:12:23 +00:00
|
|
|
float V = 1;
|
2016-08-08 01:14:22 +00:00
|
|
|
float3 MyVal = V;
|
|
|
|
|
2016-09-03 03:12:23 +00:00
|
|
|
float3 foo;
|
|
|
|
foo > 4.0;
|
|
|
|
foo >= 5.0;
|
2016-08-08 01:14:22 +00:00
|
|
|
6.0 < foo;
|
|
|
|
7.0 <= foo;
|
2016-07-28 23:53:56 +00:00
|
|
|
|
2016-09-03 03:12:23 +00:00
|
|
|
v.x == v;
|
|
|
|
f != v;
|
|
|
|
|
|
|
|
float1 f1;
|
|
|
|
|
|
|
|
f1 == v;
|
|
|
|
v < f1;
|
|
|
|
|
2016-07-28 23:53:56 +00:00
|
|
|
return input;
|
|
|
|
}
|