//
// Generated by Microsoft (R) HLSL Shader Compiler 9.27.952.3022
//
// Parameters:
//
//   float4 g_DepthOfFieldPlanes;
//   float2 g_DepthOfFieldUnitMaxBlurNearFar;
//   float2 g_PerspectiveConstants;
//   sampler2D g_TextureSampler;
//
//
// Registers:
//
//   Name                             Reg   Size
//   -------------------------------- ----- ----
//   g_PerspectiveConstants           c25      1
//   g_DepthOfFieldPlanes             c56      1
//   g_DepthOfFieldUnitMaxBlurNearFar c57      1
//   g_TextureSampler                 s0       1
//

    ps_3_0
    def c0, 0, 0, 0, 0
    def c99, 0, 0, 0, 0
    dcl_texcoord v0.xy
    dcl_2d s0
    texld r0, v0, s0
    add r0.x, r0.x, -c25.x
    rcp r0.x, r0.x
    mov r0.yz, c56
    mad r1.xy, c25.y, r0.x, -r0.yzzw
    mad r0.xy, c25.y, -r0.x, r0.yzzw
    mul r0.z, r1.y, c56.w
    max r1.y, r0.z, c0.x
    min r0.z, c99.y, r1.y
    cmp r0.y, r0.y, c0.x, r0.z
    mul r0.x, r0.x, c56.x
    max r1.y, r0.x, c0.x
    min r0.x, c99.x, r1.y
    cmp oC0, r1.x, r0.y, r0.x

// approximately 14 instruction slots used (1 texture, 13 arithmetic)
 