1float4 PixelShaderFunction(float4 input, float f) : COLOR0 2{ 3 float4 v; 4 v = 1; 5 v = 2.0; 6 v = f; 7 float3 u; 8 u = float(1); 9 u = float(2.0); 10 u = float(f); 11 float2 w = 2.0; 12 float V = 1; 13 float3 MyVal = V; 14 15 float3 foo; 16 foo > 4.0; 17 foo >= 5.0; 18 6.0 < foo; 19 7.0 <= foo; 20 21 all(v.x == v); 22 any(f != v); 23 24 float1 f1; 25 26 f1 == v; 27 v < f1; 28 f1.x; 29 f1.xxx; 30 31 const float4 f4 = 3.0; 32 33 uint ui; 34 uint3 ui3; 35 36 ui >> ui3; 37 ui3 >> ui; 38 39 v *= f1; 40 f1 *= v; 41 42 float3 mixed = u * v; 43 f = u; 44 f1 = u; 45 float sf = v; 46 float1 sf1 = v; 47 48 return input * f4; 49} 50