//
// Generated by Microsoft (R) D3DX9 Shader Compiler 
//
// Parameters:
//
//   float AnimatedLightScale;
//   float DeadVertDisplacement;
//   float Time;
//   float TimeScale;
//   float TransitionWeight;
//   float VertDisplacement;
//   float4 fogColor;
//   float3 fogTransform;
//   
//   struct
//   {
//       float4 light_vector;
//       float invradius;
//       float4 projection[3];
//
//   } lights;
//   
//   float3 localEyePos;
//   row_major float3x4 screenDataToCamera;
//   float4 screenTransform[2];
//   row_major float4x4 worldViewProj;
//
//
// Registers:
//
//   Name                 Reg   Size
//   -------------------- ----- ----
//   worldViewProj        c0       4
//   screenDataToCamera   c4       3
//   screenTransform      c7       2
//   lights               c9       2
//   fogColor             c11      1
//   fogTransform         c12      1
//   localEyePos          c13      1
//   TransitionWeight     c14      1
//   Time                 c15      1
//   TimeScale            c16      1
//   VertDisplacement     c17      1
//   DeadVertDisplacement c18      1
//   AnimatedLightScale   c19      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 };
//
//   lights
//     c9   = { 0, 0, 0, 0 };
//     c10  = { 0, 0, 0, 0 };
//
//   fogColor
//     c11  = { 0, 0, 0, 0 };
//
//   fogTransform
//     c12  = { 0, 0, 0, 0 };
//
//   localEyePos
//     c13  = { 0, 0, 0, 0 };
//
//   TransitionWeight
//     c14  = { 0, 0, 0, 0 };
//
//   Time
//     c15  = { 0, 0, 0, 0 };
//
//   TimeScale
//     c16  = { 0, 0, 0, 0 };
//
//   VertDisplacement
//     c17  = { 0, 0, 0, 0 };
//
//   DeadVertDisplacement
//     c18  = { 0, 0, 0, 0 };
//
//   AnimatedLightScale
//     c19  = { 0, 0, 0, 0 };
//

    vs_3_0
  def c253, 0.5, 0, 0.0625, 1
    def c20, 0.00784313772, -1, 3.14159012, 1.70000005
    def c21, 0.159154937, 0.5, 6.28318548, -3.14159274
    def c22, 0.100000001, 1, 0, 1.44269502
  dcl_2d s1
    dcl_position v0
    dcl_tangent v1
    dcl_binormal v2
    dcl_normal v3
    dcl_texcoord v4
    dcl_color1 v5
    dcl_texcoord6 o0
    dcl_texcoord7 o1
    dcl_texcoord o2.xy
    dcl_texcoord3 o3
    dcl_texcoord4 o4
    dcl_texcoord5 o5.xyz
  dcl_texcoord8 o10.x
    dcl_position o6
    mul r0.x, c20.z, v5.z
    mov r1.x, c15.x
    mad r0.x, r1.x, c16.x, r0.x
    mad r0.y, r0.x, c21.x, c21.y
    frc r0.y, r0.y
    mad r0.y, r0.y, c21.z, c21.w
    sincos r1.y, r0.y
    mad r0.x, r1.y, c20.w, r0.x
    mad r0.x, r0.x, c21.x, c21.y
    frc r0.x, r0.x
    mad r0.x, r0.x, c21.z, c21.w
    sincos r1.y, r0.x
    mov r0.x, c17.x
    add r0.y, -r0.x, c18.x
    mad r0.x, c14.x, r0.y, r0.x
    mul r0.x, r0.x, v5.x
    mul r0.x, r1.y, r0.x
    mad r0.yzw, v3.xxyz, c20.x, c20.y
    mad r1.xyz, r0.x, r0.yzww, v0
    mul r0.x, r0.x, c19.x
    add r2.xyz, -r1, c13
    mad r3.xyz, v1, c20.x, c20.y
    dp3 o1.x, r2, r3
    mad r4.xyz, v2, c20.x, c20.y
    dp3 o1.y, r2, r4
    mul r5.xyz, r0.x, r3
    mul r6.xyz, r0.x, r4
    mad r0.xyz, r5, c22.x, r0.yzww
    mad r0.xyz, r6, -c22.x, r0
    nrm r5.xyz, r0
    dp3 o1.z, r2, r5
    mov r1.w, v0.w
    dp4 r0.x, c0, r1
    dp4 r0.y, c1, r1
    dp4 r0.z, c2, r1
    dp4 r0.w, c3, r1
    mad r1.xyz, r1, -c9.w, c9
  dp4 o10.x, c7, r0
    dp4 r2.x, c7, r0
    dp4 r2.y, c8, r0
    mov o6, r0
    mad r2.zw, r0.w, c22.xyyz, c22.xyzy
    dp4 r0.x, c4, r2
    dp4 r0.y, c5, r2
    dp4 r0.z, c6, r2
    mov r10.xyw, r2.xyzz
    dp3 r0.x, r0, r0
    rsq r0.x, r0.x
    rcp r0.x, r0.x
    mad r0.x, r0.x, c12.x, c12.y
    mul r0.x, r0.x, c22.w
    exp_sat r0.x, r0.x
    mad r0.x, c11.w, -r0.x, c11.w
    mul r10.z, r0.x, c12.z
    dp3 o5.x, r1, r3
    dp3 o5.y, r1, r4
    dp3 o5.z, r1, r5
    mul o4.xyz, r1, c10.x
    mov o1.w, -c20.y
    mov o2.xy, v4
    mov o3, c22.z
    mov o4.w, c9.w
 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 77 instruction slots used
 

