| #include <metal_stdlib> | |
| using namespace metal; | |
| struct tint_module_vars_struct { | |
| const constant float3x2* u; | |
| }; | |
| void a(float3x2 m) { | |
| } | |
| void b(float2 v) { | |
| } | |
| void c(float f_1) { | |
| } | |
| kernel void f(const constant float3x2* u [[buffer(0)]]) { | |
| tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.u=u}; | |
| a((*tint_module_vars.u)); | |
| b((*tint_module_vars.u)[1u]); | |
| b((*tint_module_vars.u)[1u].yx); | |
| c((*tint_module_vars.u)[1u].x); | |
| c((*tint_module_vars.u)[1u].yx.x); | |
| } |