summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceControl.cpp
diff options
context:
space:
mode:
author Jesse Hall <jessehall@google.com> 2020-05-21 16:28:48 -0700
committer Jesse Hall <jessehall@google.com> 2020-05-21 16:28:48 -0700
commit7559c76d12cbc3380d4927f28703198124556350 (patch)
tree4dc56f54bc36e6c4cf02425e95b3d1c197558625 /libs/gui/SurfaceControl.cpp
parent76ad0655bbf35a88362d6f9aaa31585bd83b886c (diff)
libvulkan: support vkGIPA self-query
vkGetInstanceProcAddr(nullptr, ...) is valid and is effectively a globally dispatched function, so it's consistent to support querying vkGetInstanceProcAddr from itself without an instance. This is required in Vulkan 1.2 and is supported for all Vulkan versions by the loader on other platforms. To maximize app compatibility and minimize surprises, this makes it work on Android also, even for pre-1.2 versions where the result is undefined by the spec. Bug: 157173922 Test: dEQP-VK.api.version_check.entry_points with https://gerrit.khronos.org/#/c/5490/ applied and modified to check even on pre-1.2 implementations. Change-Id: I820dd1239df54a415b7ff5db47cf2c2b349f6155
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions