mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
radv/winsys: set use_global_list inside the critical section
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9006>
This commit is contained in:
parent
7379ca4043
commit
caa4a218f1
1 changed files with 1 additions and 1 deletions
|
|
@ -340,8 +340,8 @@ static int radv_amdgpu_global_bo_list_add(struct radv_amdgpu_winsys *ws,
|
|||
}
|
||||
|
||||
ws->global_bo_list.bos[ws->global_bo_list.count++] = bo;
|
||||
u_rwlock_wrunlock(&ws->global_bo_list.lock);
|
||||
bo->base.use_global_list = true;
|
||||
u_rwlock_wrunlock(&ws->global_bo_list.lock);
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue