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