| #include <metal_stdlib> |
| using namespace metal; |
| |
| struct VertexInputs { |
| uint vertex_index; |
| uint instance_index; |
| }; |
| |
| struct tint_symbol_outputs { |
| float4 tint_symbol_1 [[position]]; |
| }; |
| |
| float4 tint_symbol_inner(VertexInputs inputs) { |
| uint const foo = (inputs.vertex_index + inputs.instance_index); |
| return float4(0.0f); |
| } |
| |
| vertex tint_symbol_outputs tint_symbol(uint VertexInputs_vertex_index [[vertex_id]], uint VertexInputs_instance_index [[instance_id]]) { |
| tint_symbol_outputs tint_wrapper_result = {}; |
| tint_wrapper_result.tint_symbol_1 = tint_symbol_inner(VertexInputs{.vertex_index=VertexInputs_vertex_index, .instance_index=VertexInputs_instance_index}); |
| return tint_wrapper_result; |
| } |