radv: fix vk_error in radv_update_preambles()

This needs to be a vk object, otherwise it asserts or crashes.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37179>
This commit is contained in:
Samuel Pitoiset 2025-09-04 16:56:42 +02:00 committed by Marge Bot
parent 44541e84e9
commit 57deff5658

View file

@ -1298,7 +1298,7 @@ fail:
radv_bo_destroy(device, NULL, gds_oa_bo);
}
return vk_error(queue, result);
return vk_error(device, result);
}
static VkResult