blob: b766e088c1aecc4eae7d50902378b81f85569bb0 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
thread half* t;
};
half4 m(tint_module_vars_struct tint_module_vars) {
(*tint_module_vars.t) = 1.0h;
return half4((*tint_module_vars.t));
}
void f(tint_module_vars_struct tint_module_vars) {
float4 v = float4(m(tint_module_vars));
}