Commit 1c2cf52
Do not set banDedicated for android AHB on panvk
The spec says
Android hardware buffers have intrinsic width, height, format, and
usage properties, so Vulkan images bound to memory imported from an
Android hardware buffer must use dedicated allocations:
VkMemoryDedicatedRequirements::requiresDedicatedAllocation must be
VK_TRUE for images created with
VkExternalMemoryImageCreateInfo::handleTypes that includes
VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID.
Stripping VkMemoryDedicatedAllocateInfo causes segfaults on Mesa panvk
driver at least.1 parent 8552eec commit 1c2cf52
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3064 | 3064 | | |
3065 | 3065 | | |
3066 | 3066 | | |
3067 | | - | |
3068 | | - | |
3069 | | - | |
3070 | | - | |
| 3067 | + | |
| 3068 | + | |
| 3069 | + | |
| 3070 | + | |
3071 | 3071 | | |
3072 | 3072 | | |
3073 | 3073 | | |
| |||
0 commit comments