Re: [Mesa-dev] [PATCH] i965: Avoid extraneous fast depth clears

2016-05-11 Thread Ilia Mirkin
You're dropping depth_irb->mt_layer. Is that right? What if there's a texture view, or some other mechanism to attach a layer subrange? On May 11, 2016 2:31 AM, "Kenneth Graunke" wrote: > From: Chia-I Wu > > When the depth buffer is already cleared, skip GEN6_HIZ_OP_DEPTH_CLEAR. > This is made p

[Mesa-dev] [PATCH] i965: Avoid extraneous fast depth clears

2016-05-10 Thread Kenneth Graunke
From: Chia-I Wu When the depth buffer is already cleared, skip GEN6_HIZ_OP_DEPTH_CLEAR. This is made possible by tracking which slices have been cleared in "struct intel_mipmap_level". The hiz_cleared flag is unset when the depth buffer is rendered to or when a HiZ resolve is needed. Improves p

Re: [Mesa-dev] [PATCH] i965: Avoid extraneous fast depth clears

2014-01-02 Thread Chia-I Wu
On Fri, Dec 27, 2013 at 7:25 AM, Chad Versace wrote: > On 12/10/2013 09:54 PM, Chia-I Wu wrote: >> >> When the depth buffer is already cleared, skip GEN6_HIZ_OP_DEPTH_CLEAR. >> This >> is made possible by tracking which slices have been cleared in >> "struct intel_mipmap_level". The hiz_cleared f

Re: [Mesa-dev] [PATCH] i965: Avoid extraneous fast depth clears

2013-12-26 Thread Chad Versace
On 12/10/2013 09:54 PM, Chia-I Wu wrote: When the depth buffer is already cleared, skip GEN6_HIZ_OP_DEPTH_CLEAR. This is made possible by tracking which slices have been cleared in "struct intel_mipmap_level". The hiz_cleared flag is unset when the depth buffer is rendered to or when a HiZ reso

[Mesa-dev] [PATCH] i965: Avoid extraneous fast depth clears

2013-12-10 Thread Chia-I Wu
When the depth buffer is already cleared, skip GEN6_HIZ_OP_DEPTH_CLEAR. This is made possible by tracking which slices have been cleared in "struct intel_mipmap_level". The hiz_cleared flag is unset when the depth buffer is rendered to or when a HiZ resolve is needed. For Unigine Tropics, the FP