[Mesa-dev] [PATCH v3 11/18] anv/cmd_buffer: Decide whether or not to HiZ clear up-front

Nanley Chery nanleychery at gmail.com
Wed Feb 14 23:05:43 UTC 2018


On Wed, Feb 14, 2018 at 12:16:26PM -0800, Jason Ekstrand wrote:
> This moves the decision out of begin_subpass and into BeginRenderPass
> like the decision for color clears.  We use a similar name for the
> function for depth/stencil as for color even though no aux usage is
> really getting computed.
> 
> v2 (Jason Ekstrand):
>  - Don't always disable HiZ clears by accident
>  - Use the initial layout to decide whether to do fast clears
> 
> Reviewed-by: Nanley Chery <nanley.g.chery at intel.com>
> ---
>  src/intel/vulkan/genX_cmd_buffer.c | 107 +++++++++++++++++++++++++------------
>  1 file changed, 72 insertions(+), 35 deletions(-)

This still looks good to me.


More information about the mesa-dev mailing list