//
// Generated by Microsoft (R) HLSL Shader Compiler 9.26.952.2844
//
// Parameters:
//
//   float4 gAspectRatio;
//   float4 gDepthFxParams;
//   float gSuperAlpha;
//   row_major float4x4 gWorldViewProj;
//   float4 globalFogColor;
//   float4 globalFogColorN;
//   float4 globalFogParams;
//
//
// Registers:
//
//   Name            Reg   Size
//   --------------- ----- ----
//   gWorldViewProj  c8       4
//   gDepthFxParams  c16      1
//   globalFogParams c41      1
//   globalFogColor  c42      1
//   globalFogColorN c43      1
//   gAspectRatio    c47      1
//   gSuperAlpha     c64      1
//

    vs_3_0
    def c230, 1.8395173895e+25, 3.9938258725e+24, 4.5435787456e+30, 3.5817188748e-42 // 2556
    def c0, 0.159154937, 0.5, 6.28318548, -3.14159274
    def c1, 0, 1, -1, 0
    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_texcoord9 o10
    dcl_color o1
    dcl_texcoord o2
    dcl_texcoord1 o3
    dcl_texcoord2 o4
    dcl_texcoord3 o5
    dcl_texcoord4 o6
    mul_sat o1.w, c64.x, v2.w
    mul r0, c9, v0.y
    mad r0, v0.x, c8, r0
    mad r0, v0.z, c10, r0
    add r0, r0, c11
    mad r1.x, v1.z, c0.x, c0.y
    frc r1.x, r1.x
    mad r1.x, r1.x, c0.z, c0.w
    sincos r2.xy, r1.x
    mul r1.xyz, r2.yyxw, v1.yxyw
    mad r2.x, v1.x, r2.x, -r1.x
    add r2.y, r1.z, r1.y
    mov r2.zw, c1.x
    mad r0, r2, c47, r0
    add r1.x, -r0.w, c16.w
    add r1.y, -c16.z, c16.w
    rcp r1.y, r1.y
    mul_sat r1.x, r1.x, r1.y
    add r1.x, -r1.x, c1.y
    mov r1.z, c1.z
    add r1.yz, r1.z, c16.xxyw
    mad o3.zw, r1.x, r1.xyyz, c1.y
    rcp r1.x, c41.x
    mul_sat r1.x, r0.w, r1.x
    add r1.y, r0.w, -c41.x
    add r1.z, -c41.x, c41.y
    rcp r1.z, r1.z
    mul_sat r1.y, r1.y, r1.z
    lrp r2.x, c41.w, r1.x, r1.y
    add o5.w, r2.x, c41.z
    mov r2.xyz, c43
    add r1.xzw, -r2.xyyz, c42.xyyz
    mad o5.xyz, r1.y, r1.xzww, c43
    mov o0, r0
    mov o10.zw, r0
    mov o4.xyz, r0.xyww
    mov o1.xyz, v2
    mov o2, v3
    mov o3.xy, v4
    mov o4.w, v5.y
    mov o6, v6
    mov r20.x, c8.w
    add r20.x, r20.x, c9.w
    add r20.x, r20.x, c10.w
    add o10.y, r20.x, c11.w
    
// approximately 47 instruction slots used
