//
// Generated by Microsoft (R) D3DX9 Shader Compiler 
//
// Parameters:
//
//   float Time;
//   float4 VertexAnimation;
//   row_major float2x3 coverageMaskTexTransform;
//   row_major float2x3 diffuseTexTransform1;
//   row_major float2x3 diffuseTexTransform2;
//   float4 fogColor;
//   float3 fogTransform;
//   float3 localEyePos;
//   row_major float3x3 localToWorld;
//   float4 luminanceMapUVPacking;
//   row_major float2x3 normalTexTransform1;
//   row_major float2x3 normalTexTransform2;
//   row_major float3x4 screenDataToCamera;
//   float4 screenTransform[2];
//   row_major float2x3 specularTexTransform1;
//   row_major float2x3 specularTexTransform2;
//   row_major float4x4 worldViewProj;
//
//
// Registers:
//
//   Name                     Reg   Size
//   ------------------------ ----- ----
//   worldViewProj            c0       4
//   screenDataToCamera       c4       3
//   localToWorld             c7       3
//   screenTransform          c10      2
//   diffuseTexTransform1     c12      2
//   diffuseTexTransform2     c14      2
//   normalTexTransform1      c16      2
//   normalTexTransform2      c18      2
//   coverageMaskTexTransform c20      2
//   specularTexTransform1    c22      2
//   specularTexTransform2    c24      2
//   fogColor                 c26      1
//   fogTransform             c27      1
//   localEyePos              c28      1
//   Time                     c29      1
//   VertexAnimation          c30      1
//   luminanceMapUVPacking    c32      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 };
//
//   localToWorld
//     c7   = { 0, 0, 0, 0 };
//     c8   = { 0, 0, 0, 0 };
//     c9   = { 0, 0, 0, 0 };
//
//   screenTransform
//     c10  = { 0, 0, 0, 0 };
//     c11  = { 0, 0, 0, 0 };
//
//   diffuseTexTransform1
//     c12  = { 0, 0, 0, 0 };
//     c13  = { 0, 0, 0, 0 };
//
//   diffuseTexTransform2
//     c14  = { 0, 0, 0, 0 };
//     c15  = { 0, 0, 0, 0 };
//
//   normalTexTransform1
//     c16  = { 0, 0, 0, 0 };
//     c17  = { 0, 0, 0, 0 };
//
//   normalTexTransform2
//     c18  = { 0, 0, 0, 0 };
//     c19  = { 0, 0, 0, 0 };
//
//   coverageMaskTexTransform
//     c20  = { 0, 0, 0, 0 };
//     c21  = { 0, 0, 0, 0 };
//
//   specularTexTransform1
//     c22  = { 0, 0, 0, 0 };
//     c23  = { 0, 0, 0, 0 };
//
//   specularTexTransform2
//     c24  = { 0, 0, 0, 0 };
//     c25  = { 0, 0, 0, 0 };
//
//   fogColor
//     c26  = { 0, 0, 0, 0 };
//
//   fogTransform
//     c27  = { 0, 0, 0, 0 };
//
//   localEyePos
//     c28  = { 0, 0, 0, 0 };
//
//   Time
//     c29  = { 0, 0, 0, 0 };
//
//   VertexAnimation
//     c30  = { 0, 0, 0, 0 };
//
//   luminanceMapUVPacking
//     c32  = { 0, 0, 0, 0 };
//

    vs_3_0
  def c253, 0.5, 0, 0.0625, 1
    def c31, 0.00784313772, -1, 0.159154937, 0.5
    def c33, 6.28318548, -3.14159274, 1, 0
    def c34, 1.44269502, 0, 0, 0
  dcl_2d s1
    dcl_position v0
    dcl_tangent v1
    dcl_binormal v2
    dcl_normal v3
    dcl_texcoord v4
    dcl_texcoord1 v5
    dcl_texcoord o0
    dcl_texcoord1 o1
    dcl_texcoord2 o2
    dcl_color1 o3
    dcl_texcoord6 o4
    dcl_texcoord7 o5
    dcl_texcoord3 o6
    dcl_texcoord4 o7
    dcl_texcoord5 o8
  dcl_texcoord8 o10.x
    dcl_position o9
    mul r0.xy, c29.x, v0
    mul r0.xy, r0, c30
    mad r0.xy, r0, c31.z, c31.w
    frc r0.xy, r0
    mad r0.xy, r0, c33.x, c33.y
    sincos r1.y, r0.y
    sincos r2.y, r0.x
    mul r0.x, r1.y, c30.w
    mad r0.x, r2.y, c30.z, r0.x
    add r0.z, r0.x, v0.z
    mov r0.xyw, v0
    add r1.xyz, -r0, c28
    mad r2.xyz, v1, c31.x, c31.y
    dp3 o5.x, r1, r2
    mad r3.xyz, v2, c31.x, c31.y
    dp3 o5.y, r1, r3
    mad r4.xyz, v3, c31.x, c31.y
    dp3 o5.z, r1, r4
    dp4 r1.x, c0, r0
    dp4 r1.y, c1, r0
    dp4 r1.z, c2, r0
    dp4 r1.w, c3, r0
  dp4 o10.x, c10, r1
    dp4 r0.x, c10, r1
    dp4 r0.y, c11, r1
    mov o9, r1
    mad r0.zw, r1.w, c33, c33.xywz
    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, c27.x, c27.y
    mul r0.x, r0.x, c34.x
    exp r0.x, r0.x
    min r0.x, r0.x, -c31.y
    mad r0.x, c26.w, -r0.x, c26.w
    mul r10.z, r0.x, c27.z
    mad r0.xyz, v4.xyxw, c33.zzww, c33.wwzw
    dp3 o1.x, c20, r0
    dp3 o1.y, c21, r0
    dp3 o0.x, c16, r0
    dp3 o0.y, c17, r0
    dp3 o0.z, c18, r0
    dp3 o0.w, c19, r0
    dp3 o2.x, c12, r0
    dp3 o2.y, c13, r0
    dp3 o2.z, c14, r0
    dp3 o2.w, c15, r0
    dp3 o3.x, c22, r0
    dp3 o3.y, c23, r0
    dp3 o3.z, c24, r0
    dp3 o3.w, c25, r0
    mul r0.xyz, r2.y, c8
    mad r0.xyz, r2.x, c7, r0
    mad o6.xyz, r2.z, c9, r0
    mul r0.xyz, r3.y, c8
    mad r0.xyz, r3.x, c7, r0
    mad o7.xyz, r3.z, c9, r0
    mul r0.xyz, r4.y, c8
    mad r0.xyz, r4.x, c7, r0
    mad o8.xyz, r4.z, c9, r0
    mov o1.zw, c33.w
    mov o5.w, -c31.y
    mad r0.xy, v5, c32, c32.zwzw
    mov o6.w, r0.x
    mov o7.w, r0.y
    mov o8.w, c33.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 o4, r10

// approximately 83 instruction slots used
 

