//
// Generated by Microsoft (R) D3DX9 Shader Compiler 9.08.299.0000
//
//   vsa shaderdump19/SLS1006.vso /Fcshaderdump19/SLS1006.vso.dis
//
//
// Parameters:

row_major float4x4 ModelViewProj : register(c0);
row_major float4x4 TESR_InvViewProjectionTransform : register(c34);

// Registers:
//
//   Name          Reg   Size
//   ------------- ----- ----
//   ModelViewProj[0] const_0        1
//   ModelViewProj[1] const_1        1
//   ModelViewProj[2] const_2        1
//   ModelViewProj[3] const_3        1
//


// Structures:

struct VS_INPUT {
    float4 LPOSITION : POSITION;
	float4 LCOLOR_0 : COLOR0;
    float4 LTEXCOORD_0 : TEXCOORD0;
};

struct VS_OUTPUT {
    float4 position : POSITION;
	float4 color_0 : COLOR0;
    float2 texcoord_0 : TEXCOORD0;
	float4 texcoord_7 : TEXCOORD7;
};

// Code:

VS_OUTPUT main(VS_INPUT IN) {
    VS_OUTPUT OUT;

    const int4 const_4 = {1, 0, 0, 0};
	
	float4 r0;
	float4 r1;
	
	r0 = mul(ModelViewProj, IN.LPOSITION);
	r1 = mul(r0, TESR_InvViewProjectionTransform);
	
	OUT.position = r0;
    OUT.color_0.rgba = (IN.LCOLOR_0.xyzx * const_4.xxxy) + const_4.yyyx;
    OUT.texcoord_0.xy = IN.LTEXCOORD_0.xy;
	OUT.texcoord_7 = r1;
    return OUT;
};

// approximately 6 instruction slots used
