From 267e70ecd1eb553412a93ee2fae9a9078afe7041 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 (cherry picked from commit 638fc5e472091bfff0144d964f15d09b28c16366) Part-of: --- .pick_status.json | 2 +- src/intel/vulkan/anv_image.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 693120d793b..98af8be53a5 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -914,7 +914,7 @@ "description": "anv: change bool to VkResult", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "41caf3665ccc0ab77537aaed1412f37c57698a46", "notes": null diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index 50261ab2b29..bc1dd00d3c9 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -935,7 +935,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) {