| #include <metal_stdlib> | |
| using namespace metal; | |
| struct tint_module_vars_struct { | |
| device uint4* a; | |
| }; | |
| kernel void v(device uint4* a [[buffer(0)]]) { | |
| tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.a=a}; | |
| (*tint_module_vars.a).y = ((*tint_module_vars.a).y + 1u); | |
| (*tint_module_vars.a).z = ((*tint_module_vars.a).z + 1u); | |
| } |