summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-09-01 09:11:17 -0500
committerJason Ekstrand <[email protected]>2018-09-01 09:12:08 -0500
commit2ad9917e187c1e9dbb053d3c98aa0e39fa374059 (patch)
tree2472b321a67a58d34eb2481e421720caa2cb0777 /src
parent62378c5e9e5e1863bf8695af1df68b0338f5d4ea (diff)
anv/blorp: Fix a comment as per Nanley's review feedback
This accidentally didn't make it into 62378c5e9e5
Diffstat (limited to 'src')
-rw-r--r--src/intel/vulkan/anv_blorp.c4
1 files 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;