mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
v3dv: return out of host memory if we fail to create event pipelines
Fixes: ecb01d53fd ('v3dv: refactor events')
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19366>
This commit is contained in:
parent
40e683b907
commit
6748d22a7b
1 changed files with 3 additions and 1 deletions
|
|
@ -3191,8 +3191,10 @@ device_allocate_event_resources(struct v3dv_device *device)
|
|||
bind_buffer_memory(&bind_info);
|
||||
|
||||
/* Pipelines */
|
||||
if (!device_create_event_pipelines(device))
|
||||
if (!device_create_event_pipelines(device)) {
|
||||
result = VK_ERROR_OUT_OF_HOST_MEMORY;
|
||||
goto fail;
|
||||
}
|
||||
|
||||
/* Descriptor pool & set to access the buffer */
|
||||
VkDescriptorPoolSize pool_size = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue