//
// 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
//   -------------------- ----- ----
//   lights               c0       5
//   worldViewProj        c5       4
//   screenDataToCamera   c9       3
//   screenTransform      c12      2
//   fogColor             c14      1
//   fogTransform         c15      1
//   localEyePos          c16      1
//   TransitionWeight     c17      1
//   Time                 c18      1
//   TimeScale            c19      1
//   VertDisplacement     c20      1
//   DeadVertDisplacement c21      1
//   AnimatedLightScale   c22      1
//
//
// Default values:
//
//   lights
//     c0   = { 0, 0, 0, 0 };
//     c1   = { 0, 0, 0, 0 };
//     c2   = { 0, 0, 0, 0 };
//     c3   = { 0, 0, 0, 0 };
//     c4   = { 0, 0, 0, 0 };
//
//   worldViewProj
//     c5   = { 0, 0, 0, 0 };
//     c6   = { 0, 0, 0, 0 };
//     c7   = { 0, 0, 0, 0 };
//     c8   = { 0, 0, 0, 0 };
//
//   screenDataToCamera
//     c9   = { 0, 0, 0, 0 };
//     c10  = { 0, 0, 0, 0 };
//     c11  = { 0, 0, 0, 0 };
//
//   screenTransform
//     c12  = { 0, 0, 0, 0 };
//     c13  = { 0, 0, 0, 0 };
//
//   fogColor
//     c14  = { 0, 0, 0, 0 };
//
//   fogTransform
//     c15  = { 0, 0, 0, 0 };
//
//   localEyePos
//     c16  = { 0, 0, 0, 0 };
//
//   TransitionWeight
//     c17  = { 0, 0, 0, 0 };
//
//   Time
//     c18  = { 0, 0, 0, 0 };
//
//   TimeScale
//     c19  = { 0, 0, 0, 0 };
//
//   VertDisplacement
//     c20  = { 0, 0, 0, 0 };
//
//   DeadVertDisplacement
//     c21  = { 0, 0, 0, 0 };
//
//   AnimatedLightScale
//     c22  = { 0, 0, 0, 0 };
//

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

