blob: 8a8da469a6373c330a470e9a666e64d358f4ffa3 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_private_vars_struct {
half t;
};
half2x2 m(thread tint_private_vars_struct* const tint_private_vars) {
(*(tint_private_vars)).t = ((*(tint_private_vars)).t + 1.0h);
return half2x2(half2(1.0h, 2.0h), half2(3.0h, 4.0h));
}
void f(thread tint_private_vars_struct* const tint_private_vars) {
half2x2 const tint_symbol = m(tint_private_vars);
float2x2 v = float2x2(tint_symbol);
}