mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 00:30:11 +01:00
anv/android: fix compilation failure
Fixes: 3e6d3bca1d ("anv/android: Fix size check for imported gralloc bo")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9549>
This commit is contained in:
parent
49bb53ba43
commit
0759822f64
1 changed files with 1 additions and 1 deletions
|
|
@ -583,7 +583,7 @@ anv_image_from_gralloc(VkDevice device_h,
|
|||
.sType = VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2,
|
||||
};
|
||||
|
||||
anv_GetImageMemoryRequirements2(_device, &mem_reqs_info, &mem_reqs);
|
||||
anv_GetImageMemoryRequirements2(device_h, &mem_reqs_info, &mem_reqs);
|
||||
|
||||
VkDeviceSize aligned_image_size =
|
||||
align_u64(mem_reqs.memoryRequirements.size,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue