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