blob: 9f5222d224183b5c2c291486ae52a17cf4e9a355 [file]
#include <metal_stdlib>
using namespace metal;
struct S {
/* 0x0000 */ float4x4 a;
};
struct tint_module_vars_struct {
device S* v;
};
[[max_total_threads_per_threadgroup(1)]]
kernel void foo(device S* v [[buffer(0)]]) {
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.v=v};
(*tint_module_vars.v).a = ((*tint_module_vars.v).a * float4x4(float4(0.0f), float4(0.0f), float4(0.0f), float4(0.0f)));
}