blob: 2ccdef16d3a7d89c04ed4f9833b9cd68ffb6d227 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_private_vars_struct {
int a;
int a__;
};
kernel void f(device int* tint_symbol [[buffer(0)]]) {
thread tint_private_vars_struct tint_private_vars = {};
tint_private_vars.a = 1;
tint_private_vars.a__ = 2;
int b = tint_private_vars.a;
int b__ = tint_private_vars.a__;
*(tint_symbol) = as_type<int>((as_type<uint>(b) + as_type<uint>(b__)));
return;
}