blob: b93cb32cc4d0649d38f6a252fd7e2669cb7fae17 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct In {
int4 fbf;
float4 pos;
};
struct f_inputs {
int4 In_fbf [[color(3)]];
};
void g(int a, float b) {
}
void f_inner(In in) {
g(in.fbf[3u], in.pos[0u]);
}
fragment void f(f_inputs inputs [[stage_in]], float4 In_pos [[position]]) {
f_inner(In{.fbf=inputs.In_fbf, .pos=In_pos});
}