//CGVER3.4
//
// Generated by Microsoft (R) D3DX9 Shader Compiler 5.04.00.2904
//
//   fxc /T vs_1_1 /Zpr /DCGC=0 /Fc $$out.cg $$in.cg
//
//
// Parameters:
//
//   float3 $AttenInfo;
//   float3 $Fog;
//   row_major float4x4 $LightMatrix;
//   float4 $LightPos;
//   row_major float4x4 $ModelViewProj;
//   float3 $ScaleBumpTex;
//   float3 $Tangent;
//   float4 $TexGen0;
//   float4 $TexGen1;
//   float4 $g_VSCONST_0_025_05_1;
//
//
// Registers:
//
//   Name                  Reg   Size
//   --------------------- ----- ----
//   $ModelViewProj        c0       4
//   $LightPos             c4       1
//   $Tangent              c5       1
//   $ScaleBumpTex         c6       1
//   $TexGen0              c7       1
//   $TexGen1              c8       1
//   $AttenInfo            c9       1
//   $LightMatrix          c10      4
//   $g_VSCONST_0_025_05_1 c28      1
//   $Fog                  c29      1
//

    vs_1_1
    def c14, 0.0500000007, 0.00499999989, 0, 1
    dcl_position v0
    dcl_color v1
    dcl_normal v2
    mov r0.w, v0.w
    mov r0.xyz, v2
    mad r0.xyz, r0, c14.x, v0
    dp4 oPos.x, c0, r0
    dp4 oPos.y, c1, r0
    dp4 r1.x, c7, r0
    dp4 r1.y, c8, r0
    mul oT1.xy, r1, c6
    mov oT0.xy, r1
    dp4 oT3.x, c10, r0
    dp4 oT3.y, c11, r0
    dp4 oT3.z, c12, r0
    dp4 oT3.w, c13, r0
    add r1.xyz, -r0, c4
    mul r2.xyz, v2.yzxw, c5.zxyw
    dp3 r3.x, r1, r1
    mad r2.xyz, c5.yzxw, v2.zxyw, -r2
    rsq r1.w, r3.x
    dp3 r3.x, r2, r2
    rcp r1.w, r1.w
    rsq r2.w, r3.x
    add r1.w, -r1.w, c9.x
    mul r3.xyz, r2, r2.w
    mul oD1.xyz, r1.w, c9.y
    mul r2.xyz, r3.zxyw, v2.yzxw
    mad r2.xyz, r3.yzxw, v2.zxyw, -r2
    dp3 oT2.y, r3, r1
    dp3 oT2.x, r2, r1
    dp4 r2.z, c2, r0
    dp3 oT2.z, v2, r1
    mad r1.w, c29.x, -r2.z, c29.y
    dp4 r0.w, c3, r0
    max r1.w, r1.w, c28.x
    min oFog, r1.w, c28.w
    add r2.w, r0.w, c14.y
    mov oPos.zw, r2
    mov oT2.w, c14.z
    mul oD0, v1.w, c14.wwwz
    mov oD1.w, c14.z

// approximately 39 instruction slots used
