/*#pragma settings UsesPrecisionModifiers*/ | |
float f = 1; | |
half h = 2; | |
float2 f2 = float2(1, 2); | |
half3 h3 = half3(1, 2, 3); | |
float2x2 f22 = float2x2(1, 2, 3, 4); | |
half2x4 h24 = half2x4(1, 2, 3, 4, 5, 6, 7, 8); | |
void main() { | |
sk_FragColor.r = half(f + h + f2.x + h3.x + f22[0][0] + h24[0][0]); | |
} |