blob: 7e5cbae43495bbbbdb80aefceedc4ef1c694463c [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
const constant half3x4* u;
device half3x4* s;
};
kernel void f(const constant half3x4* u [[buffer(0)]], device half3x4* s [[buffer(1)]]) {
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.u=u, .s=s};
(*tint_module_vars.s) = (*tint_module_vars.u);
(*tint_module_vars.s)[1] = (*tint_module_vars.u)[0];
(*tint_module_vars.s)[1] = (*tint_module_vars.u)[0].ywxz;
(*tint_module_vars.s)[0][1] = (*tint_module_vars.u)[1][0];
}