//
// Generated by Microsoft (R) HLSL Shader Compiler 9.26.952.2844
//
// Parameters:
//
//   float4 gDepthFxParams;
//   float gSuperAlpha;
//   float4 globalFogColor;
//   float4 globalFogColorN;
//   float4 globalFogParams;
//   float4 globalScreenSize;
//
//
// Registers:
//
//   Name             Reg   Size
//   ---------------- ----- ----
//   gDepthFxParams   c16      1
//   globalFogParams  c41      1
//   globalFogColor   c42      1
//   globalFogColorN  c43      1
//   globalScreenSize c44      1
//   gSuperAlpha      c64      1
//

    vs_3_0
    def c230, 1.8395173895e+25, 3.9938258725e+24, 4.5435787456e+30, 3.5621006963e-42 // 2542
    def c0, -1, 0.159154937, 0.5, 1
    def c1, 6.28318548, -3.14159274, 0, 1
    dcl_position v0
    dcl_normal v1
    dcl_color v2
    dcl_texcoord v3
    dcl_texcoord1 v4
    dcl_texcoord2 v5
    dcl_texcoord3 v6
    dcl_position o0
    dcl_color o1
    dcl_texcoord o2
    dcl_texcoord1 o3
    dcl_texcoord2 o4
    dcl_texcoord3 o5
    dcl_texcoord4 o6
    mad r0.x, v1.z, c0.y, c0.z
    frc r0.x, r0.x
    mad r0.x, r0.x, c1.x, c1.y
    sincos r1.xy, r0.x
    mul r0.xyz, r1.yyxw, v1.yxyw
    mad r1.x, v1.x, r1.x, -r0.x
    add r1.y, r0.z, r0.y
    rcp r0.x, c44.y
    mul r0.y, r0.x, c44.x
    mov r0.x, c0.w
    mul r0.xy, r1, r0
    add r0.z, c0.x, v1.w
    sge r0.z, -r0_abs.z, r0_abs.z
    mul r0.xy, r0, r0.z
    mov r0.z, c1.z
    mad o0.xyz, v0.xyxw, c1.wwzw, r0
    mul_sat o1.w, c64.x, v2.w
    add r0.x, -c16.z, c16.w
    rcp r0.x, r0.x
    mov r1.xw, c0
    add r0.yzw, r1.x, c16.xwxy
    mul_sat r0.x, r0.x, r0.y
    add r0.x, -r0.x, c0.w
    mad o3.zw, r0.x, r0, c0.w
    add r0.x, -c41.x, c41.y
    rcp r0.x, r0.x
    add r0.y, r1.w, -c41.x
    mul_sat r0.x, r0.x, r0.y
    rcp_sat r0.y, c41.x
    lrp r1.x, c41.w, r0.y, r0.x
    add o5.w, r1.x, c41.z
    mov r1.xyz, c43
    add r0.yzw, -r1.xxyz, c42.xxyz
    mad o5.xyz, r0.x, r0.yzww, c43
    mov o0.w, c0.w
    mov o1.xyz, v2
    mov o2, v3
    mov o3.xy, v4
    mul o4, c1.wzzz, v5.z
    mov o6, v6

// approximately 47 instruction slots used
