| #include <metal_stdlib> | |
| using namespace metal; | |
| struct tint_module_vars_struct { | |
| device int* s; | |
| }; | |
| kernel void f(device int* s [[buffer(0)]]) { | |
| tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.s=s}; | |
| int const A = 1; | |
| int const _A = 2; | |
| int const B = A; | |
| int const _B = _A; | |
| (*tint_module_vars.s) = as_type<int>((as_type<uint>(as_type<int>((as_type<uint>(as_type<int>((as_type<uint>(A) + as_type<uint>(_A)))) + as_type<uint>(B)))) + as_type<uint>(_B))); | |
| } |