android: anv: fix build error in anv_android.c
Fixes the following building error:
external/mesa/src/intel/vulkan/anv_android.c:568:13: error: no member named 'stride' in 'struct anv_image_create_info'
anv_info.stride = gralloc_info->stride *
~~~~~~~~ ^
1 error generated.
Fixes: afd2f489d3 ("anv: Drop unused anv_image_create_info::stride")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10119>
This commit is contained in:
@@ -565,9 +565,6 @@ anv_image_from_gralloc(VkDevice device_h,
|
||||
base_info->tiling);
|
||||
assert(format != ISL_FORMAT_UNSUPPORTED);
|
||||
|
||||
anv_info.stride = gralloc_info->stride *
|
||||
(isl_format_get_layout(format)->bpb / 8);
|
||||
|
||||
result = anv_image_create(device_h, &anv_info, alloc, &image_h);
|
||||
image = anv_image_from_handle(image_h);
|
||||
if (result != VK_SUCCESS)
|
||||
|
||||
Reference in New Issue
Block a user