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
311 B

/*#pragma settings NoInline*/
// Ensure that 'const' is preserved on variable and function declarations in the .stage output
const half r = 0;
half2 compute_ba(const half2 rg) {
return rg;
}
half4 main(float2 xy) {
const half g = r + 1;
return half4(sqrt(r), g, compute_ba(half2(r, sqrt(g))));
}