blob: 15b2b5e3a1b300bd54563991f27c8145e9ea8708 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
device float2x3* out;
};
void tint_store_and_preserve_padding(device float2x3* const target, float2x3 value_param) {
(*target)[0u] = value_param[0u];
(*target)[1u] = value_param[1u];
}
kernel void f(device float2x3* out [[buffer(0)]]) {
tint_module_vars_struct const tint_module_vars = {.out=out};
float2x3 m = float2x3(float3(0.0f), float3(0.0f));
tint_store_and_preserve_padding(tint_module_vars.out, float2x3(m));
}