blob: 6c43d9a9759fa77da153e26aed2442db06480c1e [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct f_inputs {
float4 a [[user(locn0)]];
float4 b [[user(locn1)]] [[flat]];
float4 fbf [[color(0)]];
};
void g(float a, float b, float c) {
}
void f_inner(float4 a, float4 b, float4 fbf) {
g(a.x, b.y, fbf.x);
}
fragment void f(f_inputs inputs [[stage_in]]) {
f_inner(inputs.a, inputs.b, inputs.fbf);
}