blob: 08eaec17cf7bb867cea3ef2efc74adcf13e53c36 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_private_vars_struct {
half t;
};
half m(thread tint_private_vars_struct* const tint_private_vars) {
(*(tint_private_vars)).t = 1.0h;
return half((*(tint_private_vars)).t);
}
void f(thread tint_private_vars_struct* const tint_private_vars) {
half const tint_symbol = m(tint_private_vars);
bool v = bool(tint_symbol);
}