#include #include using namespace metal; struct BUF { int a; float b; float c; }; constant uint3 gl_WorkGroupSize [[maybe_unused]] = uint3(1u); kernel void main0(device BUF& o [[buffer(0)]]) { o.a = 4; o.b = o.c; }