| #include <metal_stdlib> |
| using namespace metal; |
| |
| struct VertexInputs { |
| int loc0; |
| uint loc1; |
| float loc2; |
| float4 loc3; |
| }; |
| |
| struct tint_symbol_outputs { |
| float4 tint_symbol_1 [[position]]; |
| }; |
| |
| struct tint_symbol_inputs { |
| int VertexInputs_loc0 [[attribute(0)]]; |
| uint VertexInputs_loc1 [[attribute(1)]]; |
| float VertexInputs_loc2 [[attribute(2)]]; |
| float4 VertexInputs_loc3 [[attribute(3)]]; |
| }; |
| |
| float4 tint_symbol_inner(VertexInputs inputs) { |
| int const i = inputs.loc0; |
| uint const u = inputs.loc1; |
| float const f = inputs.loc2; |
| float4 const v = inputs.loc3; |
| return float4(0.0f); |
| } |
| |
| vertex tint_symbol_outputs tint_symbol(tint_symbol_inputs inputs [[stage_in]]) { |
| tint_symbol_outputs tint_wrapper_result = {}; |
| tint_wrapper_result.tint_symbol_1 = tint_symbol_inner(VertexInputs{.loc0=inputs.VertexInputs_loc0, .loc1=inputs.VertexInputs_loc1, .loc2=inputs.VertexInputs_loc2, .loc3=inputs.VertexInputs_loc3}); |
| return tint_wrapper_result; |
| } |