diff --git a/src/intel/vulkan/anv_batch_chain.c b/src/intel/vulkan/anv_batch_chain.c index 242d976f69e..3c082db3496 100644 --- a/src/intel/vulkan/anv_batch_chain.c +++ b/src/intel/vulkan/anv_batch_chain.c @@ -1622,7 +1622,7 @@ anv_queue_submit(struct vk_queue *vk_queue, pthread_mutex_unlock(&device->mutex); - intel_ds_device_process(&device->ds, true); + intel_ds_device_process(&device->ds, false); return result; } diff --git a/src/intel/vulkan/anv_utrace.c b/src/intel/vulkan/anv_utrace.c index 3fba950afa6..c0ba6272dbb 100644 --- a/src/intel/vulkan/anv_utrace.c +++ b/src/intel/vulkan/anv_utrace.c @@ -620,6 +620,9 @@ anv_queue_trace(struct anv_queue *queue, const char *label, bool frame, bool beg if (result != VK_SUCCESS) goto error_batch; + if (frame && !begin) + intel_ds_device_process(&device->ds, true); + return; error_batch: