|
|
|
_out.sk_FragColor = ((((((((((((((clamp(_uniforms.testInputs.x, -1.0, 1.0) == expectedA.x && all(clamp(_uniforms.testInputs.xy, -1.0, 1.0) == expectedA.xy)) && all(clamp(_uniforms.testInputs.xyz, -1.0, 1.0) == expectedA.xyz)) && all(clamp(_uniforms.testInputs, -1.0, 1.0) == expectedA)) && -1.0 == expectedA.x) && all(float2(-1.0, 0.0) == expectedA.xy)) && all(float3(-1.0, 0.0, 0.75) == expectedA.xyz)) && all(float4(-1.0, 0.0, 0.75, 1.0) == expectedA)) && clamp(_uniforms.testInputs.x, -1.0, 1.0) == expectedB.x) && all(clamp(_uniforms.testInputs.xy, float2(-1.0, -2.0), float2(1.0, 2.0)) == expectedB.xy)) && all(clamp(_uniforms.testInputs.xyz, float3(-1.0, -2.0, -2.0), float3(1.0, 2.0, 0.5)) == expectedB.xyz)) && all(clamp(_uniforms.testInputs, clampLow, clampHigh) == expectedB)) && -1.0 == expectedB.x) && all(float2(-1.0, 0.0) == expectedB.xy)) && all(float3(-1.0, 0.0, 0.5) == expectedB.xyz)) && all(float4(-1.0, 0.0, 0.5, 2.25) == expectedB) ? _uniforms.colorGreen : _uniforms.colorRed;
|