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

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

// approximately 26 instruction slots used
