6dda78ac7b
This enables the SkSL error testing logic for runtime effects. The core logic is identical, only the ProgramKind differs. (Error creation scripts: http://go/paste/6413797460803584 with some light post-processing) Change-Id: I877205b3cc1014b50ccccf6037a2f4034c07543e Bug: skia:12665 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/506538 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
17 lines
299 B
Plaintext
17 lines
299 B
Plaintext
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
|
|
*%%*/
|