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