From: Kristian H. Kristensen Date: Wed, 29 Jul 2020 07:53:29 +0000 (-0700) Subject: turnip: Make tu_android.c compile again X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e05e60b2301d3859597cc82b0caecf1a61fd94dd;p=mesa.git turnip: Make tu_android.c compile again Part-of: --- diff --git a/src/freedreno/vulkan/tu_android.c b/src/freedreno/vulkan/tu_android.c index d82c8e9125d..720ecd8f5f8 100644 --- a/src/freedreno/vulkan/tu_android.c +++ b/src/freedreno/vulkan/tu_android.c @@ -164,7 +164,7 @@ tu_image_from_gralloc(VkDevice device_h, &(VkMemoryAllocateInfo) { .sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO, .pNext = &import_info, - .allocationSize = image->layout.size, + .allocationSize = image->total_size, .memoryTypeIndex = 0, }, alloc, &memory_h);