From: Jonathan Marek Date: Thu, 5 Mar 2020 18:54:38 +0000 (-0500) Subject: turnip: add missing tu_bo_list_add in CmdWriteTimestamp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=92f65e28fee1f4e705e8a210977dd16239febbf9;p=mesa.git turnip: add missing tu_bo_list_add in CmdWriteTimestamp Fixes an issue observed in renderdoc. Signed-off-by: Jonathan Marek Part-of: --- diff --git a/src/freedreno/vulkan/tu_query.c b/src/freedreno/vulkan/tu_query.c index 9b013060cb3..e3fdb49091c 100644 --- a/src/freedreno/vulkan/tu_query.c +++ b/src/freedreno/vulkan/tu_query.c @@ -784,6 +784,8 @@ tu_CmdWriteTimestamp(VkCommandBuffer commandBuffer, TU_FROM_HANDLE(tu_query_pool, pool, queryPool); struct tu_cs *cs = cmd->state.pass ? &cmd->draw_epilogue_cs : &cmd->cs; + tu_bo_list_add(&cmd->bo_list, &pool->bo, MSM_SUBMIT_BO_WRITE); + /* WFI to get more accurate timestamp */ tu_cs_emit_wfi(cs);