#include <metal_stdlib> | |
using namespace metal; | |
struct S { | |
/* 0x0000 */ float field0; | |
/* 0x0004 */ float age[1]; | |
}; | |
void main_1(device S& myvar) { | |
myvar.age[2u] = 42.0f; | |
return; | |
} | |
fragment void tint_symbol(device S& myvar [[buffer(0)]]) { | |
main_1(myvar); | |
return; | |
} | |