xref: /aosp_15_r20/external/skia/tests/sksl/shared/StructMaxDepth.wgsl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1diagnostic(off, derivative_uniformity);
2diagnostic(off, chromium.unreachable_code);
3struct S1 {
4  x: i32,
5};
6struct S2 {
7  x: S1,
8};
9struct S3 {
10  x: S2,
11};
12struct S4 {
13  x: S3,
14};
15struct S5 {
16  x: S4,
17};
18struct S6 {
19  x: S5,
20};
21struct S7 {
22  x: S6,
23};
24struct S8 {
25  x: S7,
26};
27struct SA1 {
28  x: array<i32, 2>,
29};
30struct SA2 {
31  x: array<SA1, 2>,
32};
33struct SA3 {
34  x: array<SA2, 2>,
35};
36struct SA4 {
37  x: array<SA3, 2>,
38};
39struct SA5 {
40  x: array<SA4, 2>,
41};
42struct SA6 {
43  x: array<SA5, 2>,
44};
45struct SA7 {
46  x: array<SA6, 2>,
47};
48struct SA8 {
49  x: array<SA7, 2>,
50};
51