aboutsummaryrefslogtreecommitdiff
path: root/resources/sksl/errors/ProgramTooLarge_Stack.rts
blob: 4f004368a17b79d960e5cc142db35d82fb627cbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
struct S {
    half4 ah4[1];
    half ah[99999];
    half4 h4;
    half h;
};

void func() {
    int small;
    S big_chungus;
    S no_report; // we don't need to report overflows past the first
}

/*%%*
variable 'big_chungus' exceeds the stack size limit
*%%*/