#line 1 "in-struct-ret-struct-struct-in.txt" float4x4 mvp; struct a2v_sub { float4 color : COLOR; }; struct a2v { float4 pos : POSITION; float2 uv : TEXCOORD0; float3 normal : NORMAL; a2v_sub ss; }; struct v2f { float4 pos : POSITION; float fog : FOG; float2 uv : TEXCOORD0; float4 color : COLOR; }; v2f main (a2v v) { v2f o; o.pos = mul (mvp, v.pos); o.color = v.ss.color; o.uv = v.uv; return o; }