   Stream Out with Vertex Shader
  How do i use stream out with just a vertex shader and no geometry shader?The sdk docs say to set the first paramter of ConstructGSWithSO() to the vertex shader instead of the geometry shader, but this produces errors for me."Cannot implicitly convert from const hullShader to const VertexShader"below is what im tryingVS_IN VSForces(VS_IN vIn){VS_IN vOut;vOut.posL = vIn.posL;vOut.posL.y -= 0.001;  //simple testreturn vOut;}VertexShader vsStreamOut = ConstructGSWithSO( CompileShader( vs_4_0, VSForces() ), "POSITION.xyz;" );technique10 ApplyForces{    pass P0    {SetRasterizerState(Wired);SetDepthStencilState( DisableDepth, 0 );   SetVertexShader( vsStreamOut ) );   SetGeometryShader( NULL );   SetPixelShader( NULL );    }}
  The error is on the assignment, I assume. The output of ConstructGSWithSO would be a GS, not a VS. Why the error mentions hullShader I don't know. Looks like a compiler bug.   ;  Yep, I did know it would return a geometry shader, but Im just trying to follow the sdk. Has anyone got any working code they could post?   ;  The error given by the compiler is a bug since the message is not relavent to the error you actually have.The function ConstructGSWithSO creates a geometry shader, not a vertex shader.  The code you actually want is below (modified so that I could compile it)struct VS_IN{float4 posL : SV_Position;};VS_IN VSForces(VS_IN vIn){VS_IN vOut;vOut.posL = vIn.posL;vOut.posL.y -= 0.001;  //simple testreturn vOut;}VertexShader vsStreamOut = CompileShader( vs_4_0, VSForces() );GeometryShader gsStreamOut = ConstructGSWithSO( vsStreamOut, "SV_Position.xyz;" );technique10 ApplyForces{    pass P0    {//SetRasterizerState(Wired);//SetDepthStencilState( DisableDepth, 0 );   SetVertexShader( vsStreamOut );   SetGeometryShader( gsStreamOut );   SetPixelShader( NULL );    }}