projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a725899
)
turnip: Make tu_android.c compile again
author
Kristian H. Kristensen
<hoegsberg@google.com>
Wed, 29 Jul 2020 07:53:29 +0000
(
00:53
-0700)
committer
Marge Bot
<eric+marge@anholt.net>
Wed, 5 Aug 2020 18:08:07 +0000
(18:08 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6112>
src/freedreno/vulkan/tu_android.c
patch
|
blob
|
history
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);