//
// Generated by Microsoft (R) D3DX9 Shader Compiler 
//
// Parameters:
//
//   float DeadVertDisplacement;
//   float Time;
//   float TimeScale;
//   float TransitionWeight;
//   float VertDisplacement;
//   float4 fogColor;
//   float3 fogTransform;
//   row_major float3x4 screenDataToCamera;
//   float4 screenTransform[2];
//   row_major float4x4 worldViewProj;
//
//
// Registers:
//
//   Name                 Reg   Size
//   -------------------- ----- ----
//   worldViewProj        c0       4
//   screenDataToCamera   c4       3
//   screenTransform      c7       2
//   fogColor             c9       1
//   fogTransform         c10      1
//   TransitionWeight     c11      1
//   Time                 c12      1
//   TimeScale            c13      1
//   VertDisplacement     c14      1
//   DeadVertDisplacement c15      1
//
//
// Default values:
//
//   worldViewProj
//     c0   = { 0, 0, 0, 0 };
//     c1   = { 0, 0, 0, 0 };
//     c2   = { 0, 0, 0, 0 };
//     c3   = { 0, 0, 0, 0 };
//
//   screenDataToCamera
//     c4   = { 0, 0, 0, 0 };
//     c5   = { 0, 0, 0, 0 };
//     c6   = { 0, 0, 0, 0 };
//
//   screenTransform
//     c7   = { 0, 0, 0, 0 };
//     c8   = { 0, 0, 0, 0 };
//
//   fogColor
//     c9   = { 0, 0, 0, 0 };
//
//   fogTransform
//     c10  = { 0, 0, 0, 0 };
//
//   TransitionWeight
//     c11  = { 0, 0, 0, 0 };
//
//   Time
//     c12  = { 0, 0, 0, 0 };
//
//   TimeScale
//     c13  = { 0, 0, 0, 0 };
//
//   VertDisplacement
//     c14  = { 0, 0, 0, 0 };
//
//   DeadVertDisplacement
//     c15  = { 0, 0, 0, 0 };
//

    vs_3_0
  def c253, 0.5, 0, 0.0625, 1
    def c16, 0.00784313772, -1, 3.14159012, 1.70000005
    def c17, 0.159154937, 0.5, 6.28318548, -3.14159274
    def c18, 1, 0, 1.44269502, 0
  dcl_2d s1
    dcl_position v0
    dcl_normal v1
    dcl_texcoord v2
    dcl_color1 v3
    dcl_texcoord6 o0
    dcl_texcoord7 o1
    dcl_texcoord o2.xy
    dcl_texcoord3 o3.xy
  dcl_texcoord8 o10.x
    dcl_position o4
    mul r0.x, c16.z, v3.z
    mov r1.x, c12.x
    mad r0.x, r1.x, c13.x, r0.x
    mad r0.y, r0.x, c17.x, c17.y
    frc r0.y, r0.y
    mad r0.y, r0.y, c17.z, c17.w
    sincos r1.y, r0.y
    mad r0.x, r1.y, c16.w, r0.x
    mad r0.x, r0.x, c17.x, c17.y
    frc r0.x, r0.x
    mad r0.x, r0.x, c17.z, c17.w
    sincos r1.y, r0.x
    mov r0.x, c14.x
    add r0.y, -r0.x, c15.x
    mad r0.x, c11.x, r0.y, r0.x
    mul r0.x, r0.x, v3.x
    mul r0.x, r1.y, r0.x
    mad r0.yzw, v1.xxyz, c16.x, c16.y
    mad r0.xyz, r0.x, r0.yzww, v0
    mov r0.w, v0.w
    dp4 r1.x, c0, r0
    dp4 r1.y, c1, r0
    dp4 r1.z, c2, r0
    dp4 r1.w, c3, r0
  dp4 o10.x, c7, r1
    dp4 r0.x, c7, r1
    dp4 r0.y, c8, r1
    mov o4, r1
    mov o3.xy, r1.zwzw
    mad r0.zw, r1.w, c18.xyxy, c18.xyyx
    dp4 r1.x, c4, r0
    dp4 r1.y, c5, r0
    dp4 r1.z, c6, r0
    mov r10.xyw, r0.xyzz
    dp3 r0.x, r1, r1
    rsq r0.x, r0.x
    rcp r0.x, r0.x
    mad r0.x, r0.x, c10.x, c10.y
    mul r0.x, r0.x, c18.z
    exp r0.x, r0.x
    min r0.x, r0.x, -c16.y
    mad r0.x, c9.w, -r0.x, c9.w
    mul r10.z, r0.x, c10.z
    mov o1, c18.yyxx
    mov o2.xy, v2
 texldl r11, c253.z, s1
 add r11.y, r10.w, -r11.y
 mul r11.x, r11.x, r11.y
 mul r11.x, r11.x, c253.x
 add r10.x, r10.x, r11.x
 mov o0, r10

// approximately 58 instruction slots used
 

