blob: 9d9f8246d49a98a56680161e85d48ac3d28dfc4c [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
thread float4x2* m;
device float4x2* out;
};
kernel void f(device float4x2* out [[buffer(0)]]) {
thread float4x2 m = float4x2(float2(0.0f), float2(0.0f), float2(0.0f), float2(0.0f));
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.m=(&m), .out=out};
(*tint_module_vars.out) = (*tint_module_vars.m);
}