//
// Generated by Microsoft (R) HLSL Shader Compiler 9.27.952.3022
//
// Parameters:
//
//   sampler2D Texture2D_2;
//   float UniformScalar_2;
//   float4 UniformVector_2;
//
//
// Registers:
//
//   Name            Reg   Size
//   --------------- ----- ----
//   UniformVector_2 c0       1
//   UniformScalar_2 c3       1
//   Texture2D_2     s0       1
//

    ps_3_0
    def c1, 2, -1, 1, 0.00999999978
    def c2, 0.99000001, 0.666700006, -0.333299994, 0
    dcl_texcoord v0.xy
    dcl_texcoord4 v1.x
    dcl_2d s0
    mov r0.xy, c1
    mad_sat r0.x, c3.x, r0.x, r0.y
    add r0.y, c0.y, c0.x
    mad r0.z, r0.y, c1.x, c1.z
    mad r0.x, r0.x, r0.z, -r0.y
    texld r1, v0, s0
    max r0.y, r1.y, c1.w
    min r1.x, r0.y, c2.x
    add r0.x, -r0.x, r1.x
    cmp r0, r0.x, c2.y, c2.z
    texkill r0
    mov oC0, v1.x

// approximately 12 instruction slots used (1 texture, 11 arithmetic)
 