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

    vs_1_1
    def c8, 0.5, 0, 1, 0
    dcl_position v0
    dcl_color v1
    dp4 r0.x, c0, v0
    dp4 r0.z, c2, v0
    dp4 r0.w, c3, v0
    add r1.xz, r0, r0.w
    mul oT1.xz, r1, c8.x
    dp4 r0.y, c1, v0
    add r2.w, r0.w, -r0.y
    mov oPos, r0
    mad r1.w, c29.x, -r0.z, c29.y
    mov oT1.w, r0.w
    dp4 r0.x, v0, c4
    dp4 r0.y, v0, c5
    mul oT1.y, r2.w, c8.x
    mov r1.x, c7.w
    mad r0.xy, r1.x, c6.zwzw, r0
    mul oT0.xy, r0, c7
    max r0.w, r1.w, c28.x
    min oFog, r0.w, c28.w
    mul oD0, v1.w, c8.yyyz

// approximately 19 instruction slots used
