You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
252 B

uniform half4 colorGreen;
inline half4 multiply(half4 x, half y) {
half4 value = x * y;
return value;
}
half4 main(float2 coords) {
half4 result;
for (int x=0; x<4; ++x)
result = multiply(colorGreen, 1);
return result;
}