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