skia2/tests/sksl/shared/StructMaxDepth.glsl
John Stiles bfc9be0f77 Migrate SkSL test inputs to the resources/ directory.
This will allow us to load these inputs for unit testing in `dm`.

Change-Id: Id256ba7c30d3ec94b98048e47af44cf9efe580d5
Bug: skia:11009
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/357282
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-01-22 18:57:29 +00:00

52 lines
467 B
GLSL

struct S1 {
int x;
};
struct S2 {
S1 x;
};
struct S3 {
S2 x;
};
struct S4 {
S3 x;
};
struct S5 {
S4 x;
};
struct S6 {
S5 x;
};
struct S7 {
S6 x;
};
struct S8 {
S7 x;
};
in S8 s8;
struct SA1 {
int[8] x;
};
struct SA2 {
SA1[7] x;
};
struct SA3 {
SA2[6] x;
};
struct SA4 {
SA3[5] x;
};
struct SA5 {
SA4[4] x;
};
struct SA6 {
SA5[3] x;
};
struct SA7 {
SA6[2] x;
};
struct SA8 {
SA7[1] x;
};
in SA8 sa8[9];