static float4 gl_Position; static float4 vInput1; struct SPIRV_Cross_Input { float4 vInput1 : TEXCOORD1; }; struct SPIRV_Cross_Output { float4 gl_Position : SV_Position; }; void vert_main() { gl_Position = 10.0f.xxxx + vInput1; } SPIRV_Cross_Output main(SPIRV_Cross_Input stage_input) { vInput1 = stage_input.vInput1; vert_main(); SPIRV_Cross_Output stage_output; stage_output.gl_Position = gl_Position; return stage_output; }