blob: c9831afcba91bfb206c35584c7327c85710c9251 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct Uniforms {
uint i;
};
struct tint_module_vars_struct {
const constant Uniforms* uniforms;
};
struct OuterS {
float3 v1;
};
kernel void tint_symbol(const constant Uniforms* uniforms [[buffer(0)]]) {
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.uniforms=uniforms};
OuterS s1 = {};
s1.v1[(*tint_module_vars.uniforms).i] = 1.0f;
}