6dc5265ae6
Change-Id: I83a38f2c953a560fea3483e95e31df532b90773e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/317456 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
16 lines
424 B
GLSL
16 lines
424 B
GLSL
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;
|
|
}
|
|
|
|
void main() {
|
|
sk_OutColor = flip(flip(flip(color)));
|
|
}
|