skia2/resources/sksl/runtime_errors/ProgramTooLarge_BlocklessLoops.rts

17 lines
299 B
Plaintext
Raw Normal View History

half4 main(float2 xy) {
int i;
for (int a=0; a<10; ++a) // 10
for (int b=0; b<10; ++b) // 100
for (int c=0; c<10; ++c) // 1000
for (int d=0; d<10; ++d) // 10000
for (int e=0; e<10; ++e) // 100000
++i;
return half4(0);
}
/*%%*
error: program is too large
*%%*/