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>
(cherry picked from commit 638fc5e472)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33113>
This commit is contained in:
Hyunjun Ko
2024-12-27 09:44:14 +09:00
committed by Dylan Baker
parent d774957ff6
commit 267e70ecd1
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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) {