#include <metal_stdlib> | |
using namespace metal; | |
struct tint_private_vars_struct { | |
float t; | |
}; | |
float4x3 m(thread tint_private_vars_struct* const tint_private_vars) { | |
(*(tint_private_vars)).t = ((*(tint_private_vars)).t + 1.0f); | |
return float4x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f), float3(10.0f, 11.0f, 12.0f)); | |
} | |
void f(thread tint_private_vars_struct* const tint_private_vars) { | |
float4x3 const tint_symbol = m(tint_private_vars); | |
half4x3 v = half4x3(tint_symbol); | |
} | |