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