| #include <metal_stdlib> | |
| using namespace metal; | |
| struct Uniforms { | |
| /* 0x0000 */ uint i; | |
| /* 0x0004 */ uint j; | |
| }; | |
| struct InnerS { | |
| int v; | |
| }; | |
| struct tint_array_wrapper { | |
| InnerS arr[8]; | |
| }; | |
| struct S1 { | |
| tint_array_wrapper a2; | |
| }; | |
| struct tint_array_wrapper_1 { | |
| S1 arr[8]; | |
| }; | |
| struct OuterS { | |
| tint_array_wrapper_1 a1; | |
| }; | |
| kernel void tint_symbol(const constant Uniforms* tint_symbol_1 [[buffer(0)]]) { | |
| InnerS v = {}; | |
| OuterS s = {}; | |
| s.a1.arr[(*(tint_symbol_1)).i].a2.arr[(*(tint_symbol_1)).j] = v; | |
| return; | |
| } | |