1 2 3 4 5 6 7 8 9 10 11 12 13
struct VS_IN { float3 pos : TEXCOORD0; }; struct VS_OUT { float4 position : SV_Position; }; VS_OUT main(VS_IN input) { VS_OUT o; o.position = float4(input.pos, 1.0); return o; }