xref: /aosp_15_r20/external/skia/resources/sksl/shared/InterfaceBlockNamedArray.sksl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1layout(binding=123) uniform testBlock {
2    layout (offset=0)  float s;
3    layout (offset=16) float2x2 m;
4    layout (offset=48) float a[2];
5    layout (offset=80) float2x2 am[2];
6} test[2];
7
8void main() {
9    sk_FragColor = half4(test[0].s, test[1].m[1][0], test[0].a[1], test[1].am[1][0][1]);
10}
11