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