// Vertex shader input structure
struct VS_INPUT
{
    float4 Position   : POSITION;
    
    // stream 1
    
    float4 row0   : TEXCOORD0;
    float4 row1   : TEXCOORD1;
    float4 row2   : TEXCOORD2;
    float4 row3   : TEXCOORD3;
    float4 color   : COLOR0;
};


// Vertex shader output structure
struct VS_OUTPUT
{
    float4 Position   : POSITION;
    float2 Texture    : TEXCOORD0;
};

VS_OUTPUT vs_main( in VS_INPUT In )
{
    VS_OUTPUT Out;

	Out.Position = In.Position;

	Out.Texture.xy = In.Position == float4(1.0,-1.0,1.0,1.0);


    return Out;                         //return output vertex
}