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

    vs_1_1
    def c8, 1.79999995, 0, 2, 1
    def c9, 0.200000003, 0.5, 0.400000006, 0
    dcl_position v0
    dcl_color v1
    dp4 oPos.x, c0, v0
    dp4 r0.w, c3, v0
    dp4 oPos.y, c1, v0
    mul r1.w, r0.w, r0.w
    rcp r1.w, r1.w
    add r0.xyz, -v0, c4
    mad r1.w, v1.w, c8.x, -r1.w
    dp3 r1.x, r0, r0
    max oD0.w, r1.w, c8.y
    rsq r1.w, r1.x
    dp4 r1.x, v0, c5
    mul r0.xyz, r0, r1.w
    dp4 r1.y, v0, c6
    mad r0.xyz, r0.z, c8.yyzw, -r0
    mad oT0.xy, c7.zwzw, c7, r1
    dp3 r1.x, r0, r0
    rsq r1.w, r1.x
    mul r1.xy, c7, c7.zwzw
    mad r0.xy, r0, r1.w, c8.w
    mul r1.xy, r1, c9.x
    mad r0.xy, r0, c9.y, -r1
    dp4 r0.z, c2, v0
    mul oT1.xy, r0, c9.z
    mad r1.w, c29.x, -r0.z, c29.y
    mov oPos.zw, r0
    max r0.w, r1.w, c28.x
    min oFog, r0.w, c28.w
    mov oD0.xyz, v1

// approximately 28 instruction slots used
