1uniform half4 colorGreen; 2 3half4 main(float2 coords) { 4 half huge = 899999999.9 * 999999999.9 * 999999999.9 * 999999999.9 * 5 999999999.9 * 999999999.9 * 999999999.9 * 999999999.9 * 6 999999999.9 * 999999999.9 * 999999999.9 * 999999999.9 * 7 999999999.9 * 999999999.9; 8 9 int hugeI = 16384 10 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 11 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2; 12 13 uint hugeU = uint(16384) 14 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 15 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2; 16 17 short hugeS = short(8192) 18 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2; 19 20 ushort hugeUS = ushort(8192) 21 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2; 22 23 int hugeNI = -16384 24 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 25 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2; 26 27 short hugeNS = short(-8192) 28 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2; 29 30 const int4 i4 = int4(2, 2, 2, 2); 31 int4 hugeIvec = i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * 32 i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * 33 i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4; 34 35 const uint4 u4 = uint4(2, 2, 2, 2); 36 uint4 hugeUvec = u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * 37 u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * 38 u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4; 39 40 return colorGreen * saturate(huge) * saturate(half(hugeI)) * saturate(half(hugeU)) * 41 saturate(half(hugeS)) * saturate(half(hugeUS)) * 42 saturate(half(hugeNI)) * saturate(half(hugeNS)) * 43 saturate(half4(hugeIvec)) * saturate(half4(hugeUvec)); 44} 45