//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:
//
//   float4 $CameraPos;
//   float4 $FadingDist;
//   float3 $Fog;
//   float4 $Layer0TexGen0;
//   float4 $Layer0TexGen1;
//   row_major float4x4 $ModelViewProj;
//   float4 $g_VSCONST_0_025_05_1;
//
//
// Registers:
//
//   Name                  Reg   Size
//   --------------------- ----- ----
//   $ModelViewProj        c0       4
//   $Layer0TexGen0        c4       1
//   $CameraPos            c5       1
//   $Layer0TexGen1        c6       1
//   $FadingDist           c7       1
//   $g_VSCONST_0_025_05_1 c28      1
//   $Fog                  c29      1
//

    vs_1_1
    def c8, 0.00100000005, 1, 0, 0
    dcl_position v0
    dcl_color1 v1
    dp4 oPos.x, c0, v0
    add r0.xyz, -v0, c5
    dp4 oPos.y, c1, v0
    dp3 r0.x, r0, r0
    rsq r0.w, r0.x
    mov r1.w, c8.x
    max r1.w, r1.w, c7.x
    rcp r0.w, r0.w
    rcp r1.w, r1.w
    dp4 oT0.x, c4, v0
    mul r0.w, r0.w, r1.w
    dp4 oT0.y, c6, v0
    min r0.w, r0.w, c8.y
    mul r0.w, r0.w, r0.w
    dp4 r0.z, c2, v0
    mul r1.w, r0.w, r0.w
    mad r0.w, c29.x, -r0.z, c29.y
    mul oD0.z, r1.w, v1.x
    max r0.w, r0.w, c28.x
    min oFog, r0.w, c28.w
    dp4 r0.w, c3, v0
    mov oPos.zw, r0
    mov oD0.xyw, c8.z

// approximately 23 instruction slots used
