blob: 1b10493ebb34bfca8761a0d6b284da3d2dd25011 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
const constant half2x3* u;
};
void a(half2x3 m) {
}
void b(half3 v) {
}
void c(half f) {
}
kernel void f(const constant half2x3* 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)[1]);
b((*tint_module_vars.u)[1].zxy);
c((*tint_module_vars.u)[1][0u]);
c((*tint_module_vars.u)[1].zxy[0u]);
}