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

2014-01-16 Thread Chad Versace
On Fri, Jan 03, 2014 at 02:28:45PM +0800, 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 render

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

2014-01-02 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