From 638fc5e472091bfff0144d964f15d09b28c16366 Mon Sep 17 00:00:00 2001 From: Hyunjun Ko Date: Fri, 27 Dec 2024 09:44:14 +0900 Subject: [PATCH] anv: change bool to VkResult Fixes: 41caf3665c ("anv/image: allocate some memory for mv storage after video images.") Signed-off-by: Hyunjun Ko Acked-by: Lionel Landwerlin Part-of: --- src/intel/vulkan/anv_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index 231d1e83574..ef5a9013e7c 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -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) {