mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
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:
parent
496b04389b
commit
81513085e5
1 changed files with 0 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue