blob: e0845c345cba10309be6ccf39c1cc3dc760c135e [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct In {
int4 fbf;
float4 pos;
};
struct tint_symbol_1 {
int4 fbf [[color(3)]];
};
void g(int a, float b) {
}
void f_inner(In in) {
g(in.fbf[3], in.pos[0]);
}
fragment void f(float4 pos [[position]], tint_symbol_1 tint_symbol [[stage_in]]) {
In const tint_symbol_2 = In{.fbf=tint_symbol.fbf, .pos=pos};
f_inner(tint_symbol_2);
return;
}