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.

14 lines
261 B

inline half square(half x) {
return x * x;
}
half4 main(float2 coords) {
half one = 1;
half4 result = half4(123);
result.r = square(0);
result.b = square(result.r);
result.g = square(1);
result.a = square(one);
return result;
}