| #include <metal_stdlib> |
| using namespace metal; |
| |
| struct tint_module_vars_struct { |
| device int* s; |
| }; |
| |
| [[max_total_threads_per_threadgroup(1)]] |
| 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__ = a; |
| 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__))); |
| } |