anv: change bool to VkResult

Fixes: 41caf3665c
("anv/image: allocate some memory for mv storage after video images.")

Signed-off-by: Hyunjun Ko <zzoon@igalia.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32775>
This commit is contained in:
Hyunjun Ko
2024-12-27 09:44:14 +09:00
committed by Marge Bot
parent ec60462a65
commit 638fc5e472

View File

@@ -938,7 +938,7 @@ add_video_buffers(struct anv_device *device,
const struct VkVideoProfileListInfoKHR *profile_list,
bool independent_profile)
{
ASSERTED bool ok;
ASSERTED VkResult ok;
unsigned size = 0;
if (independent_profile) {