xref: /aosp_15_r20/external/skia/resources/sksl/inliner/InlineThreshold.sksl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1*c8dee2aaSAndroid Build Coastguard Workeruniform half4 colorGreen;
2*c8dee2aaSAndroid Build Coastguard Worker
3*c8dee2aaSAndroid Build Coastguard Workervoid tooBig(inout int x) {
4*c8dee2aaSAndroid Build Coastguard Worker    ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x;
5*c8dee2aaSAndroid Build Coastguard Worker    ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x;
6*c8dee2aaSAndroid Build Coastguard Worker}
7*c8dee2aaSAndroid Build Coastguard Worker
8*c8dee2aaSAndroid Build Coastguard Workerhalf4 main(float2 coords) {
9*c8dee2aaSAndroid Build Coastguard Worker    int x = 0;
10*c8dee2aaSAndroid Build Coastguard Worker    tooBig(x);
11*c8dee2aaSAndroid Build Coastguard Worker    tooBig(x);
12*c8dee2aaSAndroid Build Coastguard Worker    return colorGreen;
13*c8dee2aaSAndroid Build Coastguard Worker}
14