blob: 05c28ef1100b8d20761f793a4f9542d6732fd331 [file]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
device float* s;
};
[[max_total_threads_per_threadgroup(1)]]
kernel void v_1(device float* s [[buffer(0)]]) {
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.s=s};
float3x3 m = float3x3(0.0f);
float3 const v = m[1u];
float const f = v.y;
(*tint_module_vars.s) = f;
}