Module: Mesa Branch: main Commit: e97ed4fc89d0463a42203c84298d72368afe91d3 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e97ed4fc89d0463a42203c84298d72368afe91d3
Author: Chia-I Wu <[email protected]> Date: Tue Feb 21 14:56:39 2023 -0800 anv: process utrace payloads on queue submission anv_QueuePresentKHR is not called by apps that do not use WSI. Reviewed-by: Lionel Landwerlin <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21456> --- src/intel/vulkan/anv_batch_chain.c | 2 ++ src/intel/vulkan/anv_wsi.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/vulkan/anv_batch_chain.c b/src/intel/vulkan/anv_batch_chain.c index 9f130afb97f..79236469092 100644 --- a/src/intel/vulkan/anv_batch_chain.c +++ b/src/intel/vulkan/anv_batch_chain.c @@ -1351,6 +1351,8 @@ anv_queue_submit(struct vk_queue *vk_queue, intel_ds_end_submit(&queue->ds, start_ts); + u_trace_context_process(&device->ds.trace_context, true); + return result; } diff --git a/src/intel/vulkan/anv_wsi.c b/src/intel/vulkan/anv_wsi.c index c7a0c23767a..1130e266192 100644 --- a/src/intel/vulkan/anv_wsi.c +++ b/src/intel/vulkan/anv_wsi.c @@ -114,7 +114,5 @@ VkResult anv_QueuePresentKHR( _queue, 0, pPresentInfo); - u_trace_context_process(&device->ds.trace_context, true); - return result; }
