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:
afd2f489d338 ("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>
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)