mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
anv: better signal new frames to utrace
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29944>
This commit is contained in:
parent
bc523e8949
commit
97f6a296e3
2 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue