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