#include <metal_stdlib> | |
using namespace metal; | |
struct tint_private_vars_struct { | |
half t; | |
}; | |
half4x2 m(thread tint_private_vars_struct* const tint_private_vars) { | |
(*(tint_private_vars)).t = ((*(tint_private_vars)).t + 1.0h); | |
return half4x2(half2(1.0h, 2.0h), half2(3.0h, 4.0h), half2(5.0h, 6.0h), half2(7.0h, 8.0h)); | |
} | |
void f(thread tint_private_vars_struct* const tint_private_vars) { | |
half4x2 const tint_symbol = m(tint_private_vars); | |
float4x2 v = float4x2(tint_symbol); | |
} | |