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 commit638fc5e472
) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33113>
This commit is contained in:
@@ -914,7 +914,7 @@
|
|||||||
"description": "anv: change bool to VkResult",
|
"description": "anv: change bool to VkResult",
|
||||||
"nominated": true,
|
"nominated": true,
|
||||||
"nomination_type": 2,
|
"nomination_type": 2,
|
||||||
"resolution": 0,
|
"resolution": 1,
|
||||||
"main_sha": null,
|
"main_sha": null,
|
||||||
"because_sha": "41caf3665ccc0ab77537aaed1412f37c57698a46",
|
"because_sha": "41caf3665ccc0ab77537aaed1412f37c57698a46",
|
||||||
"notes": null
|
"notes": null
|
||||||
|
@@ -935,7 +935,7 @@ add_video_buffers(struct anv_device *device,
|
|||||||
const struct VkVideoProfileListInfoKHR *profile_list,
|
const struct VkVideoProfileListInfoKHR *profile_list,
|
||||||
bool independent_profile)
|
bool independent_profile)
|
||||||
{
|
{
|
||||||
ASSERTED bool ok;
|
ASSERTED VkResult ok;
|
||||||
unsigned size = 0;
|
unsigned size = 0;
|
||||||
|
|
||||||
if (independent_profile) {
|
if (independent_profile) {
|
||||||
|
Reference in New Issue
Block a user