mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
nvk: fix BindImageMemory2 per-bind status result
The per-bind status was always being set to VK_SUCCESS instead of the actual result from nvk_bind_image_memory. Fixes:93792b5ef2("nvk: Add static wrappers for image/buffer binding") Reviewed-by: Mel Henning <mhenning@darkrefraction.com> (cherry picked from commitdd3e153a10) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40752>
This commit is contained in:
parent
e2e2dc6bf7
commit
f8d492ccc3
2 changed files with 2 additions and 2 deletions
|
|
@ -2724,7 +2724,7 @@
|
|||
"description": "nvk: fix BindImageMemory2 per-bind status result",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "93792b5ef2ae0919298409b87a54a16fb38ffafb",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1650,7 +1650,7 @@ nvk_BindImageMemory2(VkDevice device,
|
|||
const VkBindMemoryStatusKHR *status =
|
||||
vk_find_struct_const(pBindInfos[i].pNext, BIND_MEMORY_STATUS_KHR);
|
||||
if (status != NULL && status->pResult != NULL)
|
||||
*status->pResult = VK_SUCCESS;
|
||||
*status->pResult = result;
|
||||
|
||||
if (first_error_or_success == VK_SUCCESS)
|
||||
first_error_or_success = result;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue