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