#include using namespace metal; struct tint_symbol { float4 value [[position]]; }; float4 vertex_main_inner(texture2d tint_symbol_1) { float4 const value = float4(1.0f, 2.0f, 3.0f, 4.0f); tint_symbol_1.write(value, uint2(int2(9, 8))); return float4(0.0f); } vertex tint_symbol vertex_main(texture2d tint_symbol_2 [[texture(0)]]) { float4 const inner_result = vertex_main_inner(tint_symbol_2); tint_symbol wrapper_result = {}; wrapper_result.value = inner_result; return wrapper_result; }