From 2ad9917e187c1e9dbb053d3c98aa0e39fa374059 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Sat, 1 Sep 2018 09:11:17 -0500 Subject: [PATCH] anv/blorp: Fix a comment as per Nanley's review feedback This accidentally didn't make it into 62378c5e9e5 --- src/intel/vulkan/anv_blorp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;