blob: bb0569e7d4d4e87c2a004f184f055654719fd710 [file]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
const constant half3x4* u;
thread half3x4* p;
};
kernel void f(const constant half3x4* u [[buffer(0)]]) {
thread half3x4 p = half3x4(0.0h);
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.u=u, .p=(&p)};
(*tint_module_vars.p) = (*tint_module_vars.u);
(*tint_module_vars.p)[1u] = (*tint_module_vars.u)[0u];
(*tint_module_vars.p)[1u] = (*tint_module_vars.u)[0u].ywxz;
(*tint_module_vars.p)[0u].y = (*tint_module_vars.u)[1u].x;
}