mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-23 05:10:36 +02:00
lavapipe: allow AHB export allocation
This fix came from below error log:
> E MESA : lavapipe: unimplemented external memory type 1024
Fixes: cebb2bf266 ("lavapipe: Add AHB extension")
Reviewed-by: Lucas Fryzek <lfryzek@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36204>
This commit is contained in:
parent
f5c1b74c66
commit
3167e30ee2
1 changed files with 3 additions and 0 deletions
|
|
@ -297,6 +297,9 @@ assert_memhandle_type(VkExternalMemoryHandleTypeFlags types)
|
|||
unsigned valid[] = {
|
||||
VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT,
|
||||
VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT,
|
||||
#if DETECT_OS_ANDROID
|
||||
VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID,
|
||||
#endif
|
||||
};
|
||||
for (unsigned i = 0; i < ARRAY_SIZE(valid); i++) {
|
||||
if (types & valid[i])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue