| #include <metal_stdlib> | |
| using namespace metal; | |
| struct f_outputs { | |
| float4 tint_symbol [[color(0)]]; | |
| }; | |
| struct f_inputs { | |
| float4 fbf [[color(0)]]; | |
| }; | |
| float4 f_inner(float4 fbf) { | |
| return fbf; | |
| } | |
| fragment f_outputs f(f_inputs inputs [[stage_in]]) { | |
| f_outputs tint_wrapper_result = {}; | |
| tint_wrapper_result.tint_symbol = f_inner(inputs.fbf); | |
| return tint_wrapper_result; | |
| } |