mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
turnip: add missing tu_bo_list_add in CmdWriteTimestamp
Fixes an issue observed in renderdoc. Signed-off-by: Jonathan Marek <jonathan@marek.ca> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6320>
This commit is contained in:
parent
ddac5933f8
commit
92f65e28fe
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue