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