#include <metal_stdlib> | |
using namespace metal; | |
struct S { | |
/* 0x0000 */ int i; | |
}; | |
struct tint_module_vars_struct { | |
device S* s; | |
}; | |
kernel void tint_symbol(device S* s [[buffer(0)]]) { | |
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.s=s}; | |
} |