blob: 544c5cfefdd4da2a610b34a60f0a02b6efb416b8 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
device float4x4* out;
};
kernel void f(device float4x4* out [[buffer(0)]]) {
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.out=out};
(*tint_module_vars.out) = float4x4(float4(0.0f, 1.0f, 2.0f, 3.0f), float4(4.0f, 5.0f, 6.0f, 7.0f), float4(8.0f, 9.0f, 10.0f, 11.0f), float4(12.0f, 13.0f, 14.0f, 15.0f));
}