#include <metal_stdlib> | |
using namespace metal; | |
struct tint_module_vars_struct { | |
device half4x4* out; | |
}; | |
kernel void f(device half4x4* out [[buffer(0)]]) { | |
tint_module_vars_struct const tint_module_vars = {.out=out}; | |
half4x4 m = half4x4(half4(0.0h), half4(0.0h), half4(0.0h), half4(0.0h)); | |
(*tint_module_vars.out) = half4x4(m); | |
} |