blob: 56b1a9f2cd337a70fd841922e7e5f4ca6fed195d [file] [log] [blame]
#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 = a;
int const b = a;
int const _b = _a;
(*tint_module_vars.s) = (((a + _a) + b) + _b);
}