2020-09-16 22:40:38 +00:00
|
|
|
uniform half4 color;
|
|
|
|
|
|
|
|
half4 flip(half4 c) {
|
|
|
|
// Prevent the function from being inlined by making it
|
|
|
|
// sufficiently large, and by calling it more than once.
|
|
|
|
int x = 42;
|
|
|
|
++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x;
|
|
|
|
++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x;
|
|
|
|
++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x;
|
|
|
|
return c.abgr;
|
|
|
|
}
|
|
|
|
|
2020-12-15 14:44:51 +00:00
|
|
|
half4 main() {
|
|
|
|
return flip(flip(flip(color)));
|
2020-09-16 22:40:38 +00:00
|
|
|
}
|