aboutsummaryrefslogtreecommitdiff
path: root/resources/sksl/errors/ProgramTooLarge_Parameters.rts
blob: cced977be40620ffc3b145837bd5ffe16b40295b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
*%%*/