//
// Generated by Microsoft (R) D3DX9 Shader Compiler 
//
// Parameters:
//
//   row_major float2x3 blendTexTransform;
//   row_major float2x3 edgeDiffuseTexTransform;
//   row_major float2x3 edgeOpacityTexTransform;
//   row_major float2x3 edgeSpecularTexTransform;
//   row_major float2x3 facingDiffuseTexTransform;
//   row_major float2x3 facingOpacityTexTransform;
//   row_major float2x3 facingSpecularTexTransform;
//   float4 fogColor;
//   float3 fogTransform;
//   float3 localEyePos;
//   row_major float2x3 normalTexTransform;
//   row_major float3x4 screenDataToCamera;
//   float4 screenTransform[2];
//   row_major float4x4 worldViewProj;
//
//
// Registers:
//
//   Name                       Reg   Size
//   -------------------------- ----- ----
//   worldViewProj              c0       4
//   screenDataToCamera         c4       3
//   screenTransform            c7       2
//   blendTexTransform          c9       2
//   normalTexTransform         c11      2
//   edgeOpacityTexTransform    c13      2
//   facingOpacityTexTransform  c15      2
//   edgeDiffuseTexTransform    c17      2
//   facingDiffuseTexTransform  c19      2
//   facingSpecularTexTransform c21      2
//   edgeSpecularTexTransform   c23      2
//   fogColor                   c25      1
//   fogTransform               c26      1
//   localEyePos                c27      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 };
//
//   blendTexTransform
//     c9   = { 0, 0, 0, 0 };
//     c10  = { 0, 0, 0, 0 };
//
//   normalTexTransform
//     c11  = { 0, 0, 0, 0 };
//     c12  = { 0, 0, 0, 0 };
//
//   edgeOpacityTexTransform
//     c13  = { 0, 0, 0, 0 };
//     c14  = { 0, 0, 0, 0 };
//
//   facingOpacityTexTransform
//     c15  = { 0, 0, 0, 0 };
//     c16  = { 0, 0, 0, 0 };
//
//   edgeDiffuseTexTransform
//     c17  = { 0, 0, 0, 0 };
//     c18  = { 0, 0, 0, 0 };
//
//   facingDiffuseTexTransform
//     c19  = { 0, 0, 0, 0 };
//     c20  = { 0, 0, 0, 0 };
//
//   facingSpecularTexTransform
//     c21  = { 0, 0, 0, 0 };
//     c22  = { 0, 0, 0, 0 };
//
//   edgeSpecularTexTransform
//     c23  = { 0, 0, 0, 0 };
//     c24  = { 0, 0, 0, 0 };
//
//   fogColor
//     c25  = { 0, 0, 0, 0 };
//
//   fogTransform
//     c26  = { 0, 0, 0, 0 };
//
//   localEyePos
//     c27  = { 0, 0, 0, 0 };
//

    vs_3_0
  def c253, 0.5, 0, 0.0625, 1
    def c28, 0.00784313772, -1, 1, 0
    def c29, 1.44269502, 0, 0, 0
  dcl_2d s1
    dcl_position v0
    dcl_tangent v1
    dcl_binormal v2
    dcl_normal v3
    dcl_texcoord v4
    dcl_texcoord6 o0
    dcl_texcoord7 o1
    dcl_texcoord o2
    dcl_texcoord1 o3
    dcl_texcoord2 o4
    dcl_color1 o5
  dcl_texcoord8 o10.x
    dcl_position o6
    mad r0.xyz, v1, c28.x, c28.y
    add r1.xyz, c27, -v0
    dp3 o1.x, r1, r0
    mad r0.xyz, v2, c28.x, c28.y
    dp3 o1.y, r1, r0
    mad r0.xyz, v3, c28.x, c28.y
    dp3 o1.z, r1, r0
    dp4 r0.x, c0, v0
    dp4 r0.y, c1, v0
    dp4 r0.z, c2, v0
    dp4 r0.w, c3, v0
  dp4 o10.x, c7, r0
    dp4 r1.x, c7, r0
    dp4 r1.y, c8, r0
    mov o6, r0
    mad r1.zw, r0.w, c28, c28.xywz
    dp4 r0.x, c4, r1
    dp4 r0.y, c5, r1
    dp4 r0.z, c6, r1
    mov r10.xyw, r1.xyzz
    dp3 r0.x, r0, r0
    rsq r0.x, r0.x
    rcp r0.x, r0.x
    mad r0.x, r0.x, c26.x, c26.y
    mul r0.x, r0.x, c29.x
    exp_sat r0.x, r0.x
    mad r0.x, c25.w, -r0.x, c25.w
    mul r10.z, r0.x, c26.z
    mad r0.xyz, v4.xyxw, c28.zzww, c28.wwzw
    dp3 o2.x, c9, r0
    dp3 o2.y, c10, r0
    dp3 o2.w, c11, r0
    dp3 o2.z, c12, r0
    dp3 o3.x, c13, r0
    dp3 o3.y, c14, r0
    dp3 o3.w, c15, r0
    dp3 o3.z, c16, r0
    dp3 o4.x, c17, r0
    dp3 o4.y, c18, r0
    dp3 o4.w, c19, r0
    dp3 o4.z, c20, r0
    dp3 o5.x, c23, r0
    dp3 o5.y, c24, r0
    dp3 o5.w, c21, r0
    dp3 o5.z, c22, r0
    mov o1.w, c28.z
 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 45 instruction slots used
 

