From c93753e6181b82988c84e9af43d3aa377a6eae36 Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Thu, 11 Jun 2020 09:49:23 -0400 Subject: turnip: add emit renderpass cache flushes for sysmem 3D CmdClearAttachments This clear path behaves like a draw, it needs the same flush as tu_draw. Signed-off-by: Jonathan Marek Part-of: --- src/freedreno/vulkan/tu_private.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/freedreno/vulkan/tu_private.h') diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h index 1e1fdc1c61a..65aa6a5660e 100644 --- a/src/freedreno/vulkan/tu_private.h +++ b/src/freedreno/vulkan/tu_private.h @@ -1190,6 +1190,10 @@ struct tu_reg_value { uint32_t bo_shift; }; + +void tu_emit_cache_flush_renderpass(struct tu_cmd_buffer *cmd_buffer, + struct tu_cs *cs); + void tu_emit_cache_flush_ccu(struct tu_cmd_buffer *cmd_buffer, struct tu_cs *cs, enum tu_cmd_ccu_state ccu_state); -- cgit v1.2.3