commit | 9d17227d3963b001fffcf534d4af1dfdec7ec3bd | [log] [tgz] |
---|---|---|
author | C Stout <cstout@google.com> | Wed May 03 16:34:23 2023 -0700 |
committer | Craig Stout <cstout@google.com> | Thu May 11 17:01:16 2023 +0000 |
tree | c1920b2c3cbe27092875eb1ad31445a1dae3c163 | |
parent | 34b8891d9b31716e8adb8f9136d84ab9d523393a [diff] |
anv: Remove magma drm external image handling on android Change-Id: I1c8a38491528674029b8e49de76239ded04075ca Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/mesa/+/851879 Reviewed-by: John Bauman <jbauman@google.com>
diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index 34c3596..c5b5416 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c
@@ -1606,7 +1606,7 @@ return anv_image_init_from_gralloc(device, image, pCreateInfo, gralloc_info); -#if defined(__linux__) && defined(USE_MAGMA) +#if defined(__linux__) && defined(USE_MAGMA) && !defined(ANDROID) const VkExternalMemoryImageCreateInfo *external_create_info = vk_find_struct_const(pCreateInfo->pNext, EXTERNAL_MEMORY_IMAGE_CREATE_INFO);