mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +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> (cherry picked from commit3167e30ee2)
This commit is contained in:
parent
509db43546
commit
c5aaeb3c4d
2 changed files with 4 additions and 1 deletions
|
|
@ -2394,7 +2394,7 @@
|
|||
"description": "lavapipe: allow AHB export allocation",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "cebb2bf26623e31aa1fbab0e73c7e2a1e3cfe956",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -295,6 +295,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