| #include <metal_stdlib> | |
| using namespace metal; | |
| struct main_outputs { | |
| float4 tint_symbol [[color(0)]]; | |
| }; | |
| float4 main_inner(float3 bary_coord) { | |
| return float4(bary_coord, 1.0f); | |
| } | |
| fragment main_outputs v(float3 bary_coord [[barycentric_coord]]) { | |
| main_outputs tint_wrapper_result = {}; | |
| tint_wrapper_result.tint_symbol = main_inner(bary_coord); | |
| return tint_wrapper_result; | |
| } |