blob: a589874540b308734a4d99255a37722c0ba3408a [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 = {.fbf=tint_symbol.fbf, .pos=pos};
f_inner(tint_symbol_2);
return;
}