blob: 2ff426520c236d464424aeee3e413460bd8f3c29 [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};
(*tint_module_vars.out) = float3x2(float2(0.0f, 1.0f), float2(2.0f, 3.0f), float2(4.0f, 5.0f));
}