//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 $Bend;
//   float4 $DecalAtten;
//   float3 $Fog;
//   row_major float4x4 $ModelViewProj;
//   float4 $g_VSCONST_0_025_05_1;
//
//
// Registers:
//
//   Name                  Reg   Size
//   --------------------- ----- ----
//   $ModelViewProj        c0       4
//   $DecalAtten           c4       1
//   $Bend                 c7       1
//   $g_VSCONST_0_025_05_1 c28      1
//   $Fog                  c29      1
//

    vs_1_1
    def c5, 0, 0.150000006, 6.66660023, 0.5
    def c6, 1, 0, 0, 0
    dcl_position v0
    dcl_texcoord2 v1
    dcl_texcoord3 v2
    dcl_blendweight v3
    max r0.w, v0.z, c5.x
    mad r0.w, r0.w, c7.z, c7.w
    mul r0.w, r0.w, r0.w
    mad r0.w, r0.w, r0.w, -c7.w
    mad r0.xy, c7, r0.w, v0
    mov r0.z, v0.z
    dp3 r1.x, r0, r0
    rsq r0.w, r1.x
    mul r0.xyz, r0, r0.w
    add r1.xyz, -v0, c4
    dp3 r3.x, v0, v0
    dp3 r2.x, r1, r1
    rsq r0.w, r3.x
    rsq r1.w, r2.x
    rcp r0.w, r0.w
    mul r2.xyz, r1, r1.w
    mul r0.xyz, r0, r0.w
    dp3 r2.x, r2, v3
    mov r0.w, v0.w
    add r1.w, r2.x, c5.y
    dp4 oPos.x, c0, r0
    mul r1.w, r1.w, c5.z
    dp4 oPos.y, c1, r0
    min r1.w, r1.w, c6.x
    max oD0.xyz, r1.w, c5.x
    dp4 r2.z, c2, r0
    dp4 r2.w, c3, r0
    mad r0.w, c29.x, -r2.z, c29.y
    mov oPos.zw, r2
    max r0.w, r0.w, c28.x
    min oFog, r0.w, c28.w
    rcp r0.w, c4.w
    mul r0.w, r0.w, c5.w
    dp3 r0.x, v1, r1
    dp3 r0.y, v2, r1
    dp3 r0.z, v3, r1
    mad r0.xyz, r0, r0.w, c5.w
    mov r0.w, c5.x
    mov oT0, r0
    mov oD0.w, r0.z

// approximately 40 instruction slots used
