From: Jason Ekstrand Date: Sat, 1 Sep 2018 14:11:17 +0000 (-0500) Subject: anv/blorp: Fix a comment as per Nanley's review feedback X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ad9917e187c1e9dbb053d3c98aa0e39fa374059;p=mesa.git anv/blorp: Fix a comment as per Nanley's review feedback This accidentally didn't make it into 62378c5e9e5 --- diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.c index 04bca4d261f..bff54a0c736 100644 --- a/src/intel/vulkan/anv_blorp.c +++ b/src/intel/vulkan/anv_blorp.c @@ -1616,8 +1616,8 @@ anv_image_hiz_clear(struct anv_cmd_buffer *cmd_buffer, * * [...]" * * Even though the PRM only says that this is required if using 3DSTATE_WM - * and a 3DPRIMITIVE, it appears to also sometimes hang when doing a clear - * with WM_HZ_OP. + * and a 3DPRIMITIVE, the GPU appears to also need this to avoid occasional + * hangs when doing a clear with WM_HZ_OP. */ cmd_buffer->state.pending_pipe_bits |= ANV_PIPE_DEPTH_CACHE_FLUSH_BIT | ANV_PIPE_DEPTH_STALL_BIT;