xref: /aosp_15_r20/external/skia/resources/sksl/errors/ProgramTooLarge_Stack.rts (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1struct S {
2    half4 ah4[1];
3    half ah[99990];
4    half4 h4;
5    half h;
6};
7
8void func() {
9    int small, variables, are, allowed;
10    S big_chungus;
11    S no_report; // we don't need to report overflows past the first
12}
13
14/*%%*
15variable 'big_chungus' exceeds the stack size limit
16*%%*/
17