#include <metal_stdlib> | |
using namespace metal; | |
struct tint_symbol_1 { | |
float4 fbf_1 [[color(1)]]; | |
float4 fbf_3 [[color(3)]]; | |
}; | |
struct tint_symbol_2 { | |
float4 value [[color(0)]]; | |
}; | |
float4 f_inner(float4 fbf_1, float4 fbf_3) { | |
return (fbf_1 + fbf_3); | |
} | |
fragment tint_symbol_2 f(tint_symbol_1 tint_symbol [[stage_in]]) { | |
float4 const inner_result = f_inner(tint_symbol.fbf_1, tint_symbol.fbf_3); | |
tint_symbol_2 wrapper_result = {}; | |
wrapper_result.value = inner_result; | |
return wrapper_result; | |
} | |