//FOG ON/OFF
// Generated by Microsoft (R) HLSL Shader Compiler 9.27.952.3022
//
// Parameters:
//
//   float4 CameraPosition;
//   float4 FogMaxHeight;
//   float4 FogMinHeight;
//   float4 ScreenPositionScaleBias;
//   float4x4 ScreenToWorld;
//
//
// Registers:
//
//   Name                    Reg   Size
//   ----------------------- ----- ----
//   CameraPosition          c4       1
//   ScreenToWorld           c6       3
//   ScreenPositionScaleBias c9       1
//   FogMinHeight            c10      1
//   FogMaxHeight            c11      1
//

    vs_3_0
    def c0, 1, 0, 0, 0
	  def c245, 0, 0, 0, 0
    dcl_position v0
    dcl_texcoord o0
    dcl_texcoord1 o1
    dcl_position o2
	  mov r14.x, c250.y 
	  if_eq r14.x, c245.x
    mad o0.xy, v0, c9, c9.wzzw
    mov r0.z, c4.z
    add o0.z, -r0.z, c10.x
    add o0.w, -r0.z, c11.x
    mul r0, c7, v0.y
    mad r0, c6, v0.x, r0
    add o1, r0, c8
    mad o2, v0.xyxx, c0.xxyy, c0.yyyx
	  endif

// approximately 8 instruction slots used
 