| #include <metal_stdlib> | |
| using namespace metal; | |
| struct S { | |
| 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}; | |
| } |