projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
turnip: Make tu_android.c compile again
[mesa.git]
/
src
/
freedreno
/
vulkan
/
tu_android.c
diff --git
a/src/freedreno/vulkan/tu_android.c
b/src/freedreno/vulkan/tu_android.c
index d82c8e9125d135acf95b0ab6f5b7ad73590acbe7..720ecd8f5f8a62a7ba831e5320b908ba587a4192 100644
(file)
--- 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);