xref: /aosp_15_r20/external/skia/resources/sksl/spirv/LayoutOutOfOrder.sksl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1struct Bad {
2    int x;
3    layout(offset = 0) int y;
4} bad;
5
6void main() {
7    bad.x = 5;
8    sk_FragColor.r = half(bad.x);
9}
10