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

    vs_1_1
    def c4, 0, 0.5, 1, 0
    dcl_position v0
    dcl_texcoord v1
    max r0.w, v0.z, c4.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 r2.x, r0, r0
    dp3 r1.x, v0, v0
    rsq r1.w, r2.x
    rsq r0.w, r1.x
    mul r0.xyz, r0, r1.w
    rcp r0.w, r0.w
    mul r0.xyz, r0, r0.w
    mov r0.w, v0.w
    dp4 oPos.x, c0, r0
    dp4 oPos.y, c1, r0
    dp4 oT0.x, c8, r0
    dp4 oT0.y, c9, r0
    dp4 oT0.z, c10, r0
    dp4 r1.x, c11, r0
    mad oT2.z, r1.x, c4.y, c4.y
    dp4 r1.z, c2, r0
    mov oT0.w, r1.x
    mad r2.w, c29.x, -r1.z, c29.y
    dp4 r1.w, c3, r0
    max r0.w, r2.w, c28.x
    mov oPos.zw, r1
    min oFog, r0.w, c28.w
    mov oT1.xy, v1
    mov oT2.xyw, c4.xxzz

// approximately 30 instruction slots used
