blob: 80f5652fdda7f8a7588d59a58bb3f613868dd5eb [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_private_vars_struct {
float t;
};
float4x4 m(thread tint_private_vars_struct* const tint_private_vars) {
(*(tint_private_vars)).t = ((*(tint_private_vars)).t + 1.0f);
return float4x4(float4(1.0f, 2.0f, 3.0f, 4.0f), float4(5.0f, 6.0f, 7.0f, 8.0f), float4(9.0f, 10.0f, 11.0f, 12.0f), float4(13.0f, 14.0f, 15.0f, 16.0f));
}
void f(thread tint_private_vars_struct* const tint_private_vars) {
float4x4 const tint_symbol = m(tint_private_vars);
half4x4 v = half4x4(tint_symbol);
}