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>
(cherry picked from commit 57deff5658)
This commit is contained in:
Samuel Pitoiset 2025-09-04 16:56:42 +02:00 committed by Eric Engestrom
parent 8534c24593
commit 4623e861e4
2 changed files with 2 additions and 2 deletions

View file

@ -9064,7 +9064,7 @@
"description": "radv: fix vk_error in radv_update_preambles()",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

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