1half4 main(float2 coords) { 2 bool3 B; 3 B.x = bool(1.23); 4 B.y = bool(1); 5 B.z = bool(true); 6 7 float3 F; 8 F.x = float(1.23); 9 F.y = float(0); 10 F.z = float(true); 11 12 int3 I; 13 I.x = int(1.23); 14 I.y = int(1); 15 I.z = int(true); 16 17 return half4(half(F.x * F.y * F.z), half(B.x && B.y && B.z), 0, half(I.x * I.y * I.z)); 18} 19