#include <metal_stdlib> | |
using namespace metal; | |
struct str { | |
/* 0x0000 */ int i; | |
}; | |
int func(const constant int* const pointer) { | |
return *(pointer); | |
} | |
kernel void tint_symbol(const constant str* tint_symbol_1 [[buffer(0)]]) { | |
int const r = func(&((*(tint_symbol_1)).i)); | |
return; | |
} | |