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