xref: /aosp_15_r20/external/skia/resources/sksl/errors/ProgramTooLarge_Struct.rts (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1struct A {
2    int4 big[25001]; // 100,004 slots
3};
4
5struct B {
6    int4 a[12500];   // 50,000 slots
7    int b[49999];    // 99,999 slots
8    int c;           // 100,000 slots
9};
10
11struct C {
12    int a[99999];    // 99,999 slots (safe)
13};
14
15struct D {
16    C a;   // 99,999 slots
17    int b; // 100,000 slots
18};
19
20/*%%*
21array size is too large
22struct is too large
23struct is too large
24*%%*/
25