//
// Generated by Microsoft (R) HLSL Shader Compiler 9.22.949.2248
//
// Parameters:
//
//   float4 cClipping;
//   float4 cFogParams;
//   float4 cMaterialVariable0;
//   float4 cScreenCenter;
//   float cSelfIllumScale;
//
//
// Registers:
//
//   Name               Reg   Size
//   ------------------ ----- ----
//   cFogParams         c18      1
//   cScreenCenter      c26      1
//   cClipping          c27      1
//   cMaterialVariable0 c28      1
//   cSelfIllumScale    c232     1
//

    vs_3_0
    def c0, 0.469999999, 1, -1, 0
     def c220, 0.90, 0, 0.0625, 0 
    dcl_position v0
    dcl_color v1
    dcl_texcoord v2
    dcl_2d s0
    dcl_position o0
    dcl_texcoord o1.xyz
    dcl_texcoord1 o2.xy
    dcl_texcoord2 o3.xy
    dcl_texcoord3 o4.xy
    dcl_texcoord4 o5.xy
    dcl_texcoord5 o6.x
    dcl_texcoord6 o7.x
    mul o1.xyz, c232.x, v1
    mov_sat r0.x, c28.x
    mad r0.x, r0.x, c0.x, c0.y
    mul o4.xy, r0.x, v2
    mad r1, v2.yxyx, c0.zyyz, c0.ywwy
    mul o5.xy, r0.x, r1
    mul o3.xy, r0.x, r1.zwzw
    add r0.yz, c0.y, -v2.xxyw
    mul o2.xy, r0.x, r0.yzzw
    add r0.xy, -c26, v0
    mul r0.xy, r0, c26.zwzw
    add r1.x, -c27.x, v0.z
    mul r0.z, r1.x, c27.y
    mov r0.w, c0.y
    dp4 r1.x, r0, r0
    mov r3, r0
            texldl r1, c220.z, s0
    mul r1.x, r1.x, -c220.x
     add r3.x, r3.x, -r1.x
     mov o0, r3
    rsq r0.x, r1.x
    rcp r0.x, r0.x
    mad r0.x, r0.x, c18.x, c18.y
    max r0.x, r0.x, c18.w
    min o6.x, r0.x, c0.y
    mov o7.x, v1.w

// approximately 22 instruction slots used
 