mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 01:50:12 +01:00
lavapipe: Always call finish_fence after lvp_execute_cmd_buffer
Makes sure that sample_functions is not modified while shaders are
running.
Fixes: 7ebf7f4 ("llvmpipe: Compile sample functioins on demand")
Reviewed-by: Roland Scheidegger <roland.scheidegger@broadcom.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29699>
This commit is contained in:
parent
255f4bb290
commit
ce85f3a431
1 changed files with 1 additions and 2 deletions
|
|
@ -5261,8 +5261,7 @@ VkResult lvp_execute_cmds(struct lvp_device *device,
|
|||
}
|
||||
}
|
||||
|
||||
if (util_dynarray_num_elements(&state->push_desc_sets, struct lvp_descriptor_set *))
|
||||
finish_fence(state);
|
||||
finish_fence(state);
|
||||
|
||||
util_dynarray_foreach (&state->push_desc_sets, struct lvp_descriptor_set *, set)
|
||||
lvp_descriptor_set_destroy(device, *set);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue