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.
16 lines
418 B
16 lines
418 B
7 months ago
|
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;
|
||
|
}
|
||
|
|
||
|
half4 main() {
|
||
|
return flip(flip(flip(color)));
|
||
|
}
|