blob: 523b128cabdb5af934d49080f2eb2f9b237ab98f [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
device float* s;
};
kernel void tint_symbol(device float* s [[buffer(0)]]) {
tint_module_vars_struct const tint_module_vars = {.s=s};
float3x3 m = float3x3(0.0f);
float3 const v = m[1];
float const f = v[1];
(*tint_module_vars.s) = f;
}