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