Why Early-Z Kill Rate is 0% ?

  2 opaque quads in scene, one overlap another.  They are full of screen. l think yellow quad will kill by Early-Z. But the profiler result is opposite. Early-Z kill rate is near 0. I think it would be 50%. The scene run on android device.

Parents
  • It's impossible to say exactly what is happening without knowing the precise render state for each draw call, and the draw order on screen, as early ZS can be impacted by many different settings in the API and in the fragment shader source code.

    If these were both simple opaque quads I would expect 100% Early ZS test rate, even if the test subsequently failed.

    Which GPU are you running on, and are you able to share a reproducer?

    How many fragment warps are you seeing getting spawned?

    Kind regards, 
    Pete

Reply
  • It's impossible to say exactly what is happening without knowing the precise render state for each draw call, and the draw order on screen, as early ZS can be impacted by many different settings in the API and in the fragment shader source code.

    If these were both simple opaque quads I would expect 100% Early ZS test rate, even if the test subsequently failed.

    Which GPU are you running on, and are you able to share a reproducer?

    How many fragment warps are you seeing getting spawned?

    Kind regards, 
    Pete

Children