//
// Generated by Microsoft (R) HLSL Shader Compiler 9.24.949.2307
//
// Parameters:
//
//   sampler2D __vc_Texture;
//   float4 _p0;
//
//
// Registers:
//
//   Name         Reg   Size
//   ------------ ----- ----
//   _p0          c31      1
//   __vc_Texture s0       1
//

    ps_2_0
    def c0, 1, 0, 0, 0
    def c1, 0.29893899, 0.58662498, 0.114436001, 0
    dcl t0.xy
    dcl_2d s0
    texld r0, t0, s0
    dp3 r0.x, r0, c1
    add r0.y, r0.x, -c31.x
    add_sat r0.x, r0.x, c31.y
    cmp r0.y, r0.y, c0.x, c0.y
    mul_pp r0, r0.x, r0.y
    mov_pp oC0, r0

// approximately 7 instruction slots used (1 texture, 6 arithmetic)
 