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