Mesa (master): turnip: Make tu_android.c compile again
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Aug 5 18:25:46 UTC 2020
Module: Mesa
Branch: master
Commit: e05e60b2301d3859597cc82b0caecf1a61fd94dd
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e05e60b2301d3859597cc82b0caecf1a61fd94dd
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Wed Jul 29 00:53:29 2020 -0700
turnip: Make tu_android.c compile again
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6112>
---
src/freedreno/vulkan/tu_android.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
More information about the mesa-commit
mailing list