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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user