//
// Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
//
// Parameters:
//
//   float4 MinZ_MaxZRatio;
//   float NvStereoEnabled;
//   sampler2D NvStereoFixTexture;
//   sampler2D PixelTexture2D_0;
//   sampler2D PixelTexture2D_1;
//   sampler2D PixelTexture2D_2;
//   sampler2D PixelTexture2D_3;
//   sampler2D SceneColorTexture;
//   float4 ScreenPositionScaleBias;
//   float4 UniformPixelScalars_1;
//   float4 UniformPixelScalars_3;
//   float4 UniformPixelScalars_5;
//   float4 UniformPixelScalars_6;
//   float4 UniformPixelVector_0;
//   float4 UniformPixelVector_1;
//   float4 UniformPixelVector_2;
//   float4 UniformPixelVector_3;
//   float4 UniformPixelVector_4;
//
//
// Registers:
//
//   Name                    Reg   Size
//   ----------------------- ----- ----
//   UniformPixelVector_0    c0       1
//   ScreenPositionScaleBias c1       1
//   MinZ_MaxZRatio          c2       1
//   NvStereoEnabled         c3       1
//   UniformPixelVector_1    c7       1
//   UniformPixelVector_2    c8       1
//   UniformPixelVector_3    c9       1
//   UniformPixelVector_4    c10      1
//   UniformPixelScalars_1   c11      1
//   UniformPixelScalars_3   c12      1
//   UniformPixelScalars_5   c13      1
//   UniformPixelScalars_6   c14      1
//   SceneColorTexture       s0       1
//   NvStereoFixTexture      s1       1
//   PixelTexture2D_0        s2       1
//   PixelTexture2D_1        s3       1
//   PixelTexture2D_2        s4       1
//   PixelTexture2D_3        s5       1
//

    ps_3_0
    def c4, 1.5, 0.0625, 0, 1
    def c5, 0.300000012, 0.589999974, 0.109999999, 0
    dcl_texcoord v0.xy
    dcl_texcoord5 v1.xyw
    dcl_2d s0
    dcl_2d s1
    dcl_2d s2
    dcl_2d s3
    dcl_2d s4
    dcl_2d s5
    mov r0.xw, c4
    mad r0.xy, v0, r0.x, c7
    texld r1, r0, s2
    add r0.xy, c8, v0
    texld r2, r0, s2
    mul r0.x, r2.y, c12.x
    mad r0.x, c11.w, r1.y, r0.x
    mul r0.x, r0.x, c12.y
    texld r1, v0, s3
    add r1.xyz, r1, c12.z
    add r0.yz, c9.xxyw, v0.xxyw
    texld r2, r0.yzzw, s4
    abs r0.y, c3.x
    if_ne c3.x, -c3.x
      texld r3, c4.yzzw, s1
      add r0.z, -r3.y, v1.w
      mad r3.x, r3.x, r0.z, v1.x
      mov r3.yz, v1.xyww
    else
      mov r3.xyz, c4.z
    endif
    cmp r3.xyz, -r0.y, v1.xyww, r3
		
	mov r3.xyz, v1.xyww
    rcp r0.y, r3.z
    mul r0.yz, r0.y, r3.xxyw
    mad r0.yz, r0, c1.xxyw, c1.xwzw
    texld_pp r3, r0.yzzw, s0
    lrp r4.xyz, c13.w, r3, r2
    add r0.yz, c10.xxyw, v0.xxyw
    texld r2, r0.yzzw, s5
    dp3 r0.y, r2, c5
    add r0.y, -r0.y, c14.z
    add r0.y, r0.y, c4.w
    mul r2.xyz, r4, r0.y
    mad r0.xyz, r0.x, r1, r2
    dp3 r1.x, r0, c5
    lrp_sat r2.xyz, c14.w, r1.x, r0
    add_pp oC0.xyz, r2, c0
    add r0.x, r0.w, -c2.y
    rcp r0.y, v1.w
    mad oC0.w, -c2.x, r0.y, r0.x

// approximately 42 instruction slots used (7 texture, 35 arithmetic)
 