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

    vs_3_0
    def c230, 1.8395173895e+25, 3.9938258725e+24, 4.5435787456e+30, 2.8264190025e-42 // 2017
    def c0, 0.212500006, 0.715399981, 0.0720999986, 0
    def c1, 1, -1, 1.00000001e-007, 0
    dcl_position v0
    dcl_color v1
    dcl_position o0
    dcl_texcoord9 o10
    dcl_texcoord o1.xyz
    mov r0.xyz, c43
    add r0.xyz, -r0, c42
    add r0.w, -c41.x, c41.y
    rcp r0.w, r0.w
    mul r1, c9, v0.y
    mad r1, v0.x, c8, r1
    mad r1, v0.z, c10, r1
    add r1, r1, c11
    add r2.x, r1.w, -c41.x
    mul_sat r0.w, r0.w, r2.x
    mad r0.xyz, r0.w, r0, c43
    add r2.x, -r1.w, c16.w
    add r2.y, -c16.z, c16.w
    rcp r2.y, r2.y
    mul_sat r2.x, r2.x, r2.y
    add r2.x, -r2.x, c1.x
    mov r3.xy, c16
    add r2.yz, r3.xxyw, c1.y
    mad r2.y, r2.x, r2.y, c1.x
    mul r2.x, r2.x, r2.z
    mul r3.xyz, c39.y, v1
    dp3 r2.z, r3, c0
    mad r3.xyz, v1, c39.y, -r2.z
    mad r3.xyz, r2.y, r3, r2.z
    add r2.y, r2.z, c1.z
    pow r3.w, r2_abs.y, r2.x
    mad r0.xyz, r3, -r3.w, r0
    mul r2.xyz, r3, r3.w
    rcp r2.w, c41.x
    mul_sat r2.w, r1.w, r2.w
    mov o0, r1
    mov o10.zw, r1
    lrp r1.x, c41.w, r2.w, r0.w
    add r0.w, r1.x, c41.z
    mad o1.xyz, r0.w, r0, r2
    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 36 instruction slots used
