//
// Generated by Microsoft (R) HLSL Shader Compiler 9.26.952.2844
//
// Parameters:
//
//   sampler2D HDRSampler;
//   float4 TexelSize;
//
//
// Registers:
//
//   Name         Reg   Size
//   ------------ ----- ----
//   TexelSize    c66      1
//   HDRSampler   s0       1
//

    ps_3_0
    def c0, 0.9, 0.8, 0.7, 0.172413796
    def c1, 1, 2, 3, 0
    dcl_texcoord v0.xy
    dcl_2d s0
    texld r0, v0, s0 // center
    mov r1, c66.x
    mov r2.w, v0.y
    
    mad r2.xyz, r1, c1, v0.x
    texld r3, r2.xw, s0
    add r3, r3, -r0
    max r3, r3, c1.w
    mul r4, r3, c0.x
    texld r3, r2.yw, s0
    add r3, r3, -r0
    max r3, r3, c1.w
    mul r3, r3, c0.y
    add r4, r4, r3
    texld r3, r2.zw, s0
    add r3, r3, -r0
    max r3, r3, c1.w
    mul r3, r3, c0.z
    add r4, r4, r3
    mad r2.xyz, r1, -c1, v0.x
    texld r3, r2.xw, s0
    add r3, r3, -r0
    max r3, r3, c1.w
    mul r3, r3, c0.x
    add r4, r4, r3
    texld r3, r2.yw, s0
    add r3, r3, -r0
    max r3, r3, c1.w
    mul r3, r3, c0.y
    add r4, r4, r3
    texld r3, r2.zw, s0
    add r3, r3, -r0
    max r3, r3, c1.w
    mul r3, r3, c0.z
    add r4, r4, r3
    
    mad oC0.xyz, r4, c0.w, r0
    mov oC0.w, c1.x

// approximately 40 instruction slots used (7 texture, 33 arithmetic)
