//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 $NoisePos;
//   float4 $TexShift;
//   float4 $g_VSCONST_0_025_05_1;
//   float4 $pg[66];
//
//
// Registers:
//
//   Name                  Reg   Size
//   --------------------- ----- ----
//   $ModelViewProj        c0       4
//   $NoisePos             c4       1
//   $TexShift             c5       1
//   $g_VSCONST_0_025_05_1 c28      1
//   $Fog                  c29      1
//   $pg                   c30     66
//

    vs_1_1
    def c6, 0.03125, 32, -1, 0
    def c7, 2, 3, 0, 0
    dcl_position v0
    dcl_texcoord v1
    dcl_color v2
    add r1.xy, v0, c4
    mul r2.xy, r1, c6.x
    frc r0.xy, r2
    frc r3.xy, r1
    mul r0.w, r0.x, c6.y
    mov a0.x, r0.w
    mov r1.x, c30[a0.x].w
    mov r1.y, c31[a0.x].w
    mad r2.xy, r0.y, c6.y, r1
    add r0.xy, r3, c6.z
    mov a0.x, r2.y
    mul r0.xy, r0, c31[a0.x]
    add r1.y, r0.y, r0.x
    add r0, r3.xyxy, c6.zwwz
    mov a0.x, r2.x
    mul r4.xy, r0.zwzw, c31[a0.x]
    mov a0.x, r2.y
    mul r0.xy, r0, c30[a0.x]
    mov a0.x, r2.x
    mul r2.xy, r3, c30[a0.x]
    add r1.x, r4.y, r4.x
    add r2.x, r2.y, r2.x
    add r2.y, r0.y, r0.x
    mul r0.xy, r3, r3
    mad r3.xy, c7.x, -r3, c7.y
    add r1.xy, r1, -r2
    mul r0.xy, r0, r3
    mad r1.xy, r0.y, r1, r2
    add r0.w, -r1.x, r1.y
    mad r1.w, r0.x, r0.w, r1.x
    mad r0.z, r1.w, c4.w, v0.z
    mov r0.xyw, v0
    dp4 oPos.x, c0, r0
    mul r2.w, c5.y, c5.x
    dp4 oPos.y, c1, r0
    mad r2.w, v1.y, c5.y, r2.w
    mad oT0.y, r1.w, c5.z, r2.w
    dp4 r1.z, c2, r0
    mul oT0.x, v1.x, c5.w
    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 oT0.zw, v1
    mov oD0, v2

// approximately 50 instruction slots used
