//
// Generated by Microsoft (R) D3DX9 Shader Compiler 
//
// Parameters:
//
//   float Shadow_deph;
//   sampler2D Texture0;
//   sampler2D Texture1;
//
//
// Registers:
//
//   Name         Reg   Size
//   ------------ ----- ----
//   Shadow_deph  c11      1
//   Texture0     s0       1
//   Texture1     s1       1
//

    ps_2_0
    def c0, 0.5, 0, 1, 0
    dcl t0.xy
    dcl_2d s0
    dcl_2d s1
    texld r0, t0, s1
    texld r1, t0, s0
    mul r0.w, r0.w, c0.x
    mad r0.w, r0.x, c0.x, r0.w
    add r0.w, -r1.w, r0.w
    max r2.w, r0.w, c0.y
    rcp r0.w, c11.x
    mad r0.w, r2.w, r0.w, c0.z
    rcp r0.w, r0.w
    mul r0, r1, r0.w
    mov oC0, r0

// approximately 11 instruction slots used (2 texture, 9 arithmetic)
