summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2018-03-05 13:34:45 -0800
committerIan Elliott <ianelliott@google.com>2018-03-08 21:20:03 +0000
commitf6481effc853a1a0749ec0860f06c508788d7e1b (patch)
tree2f7e63f74e9c55be65747a426ee7c5e3550bdab2 /opengl/tests/gl_basic/gl_basic.cpp
parent3a7e825dc64e6903b441023d7534664b8f105c8c (diff)
Enable VK_KHR_swapchain for instances.
This is a specific instance of a general capability. Beginning with Vulkan 1.1, physical-device commands can part of device extensions, and can be called before the application creates a device. vkGetInstanceProcAddr only returns commands for enabled extensions, and so we must internally enable device extensions inside of the instance. This commit enables VK_KHR_swapchain so that GIPA will return vkGetPhysicalDevicePresentRectanglesKHR. Bug: b/71744435 Test: Modified LunarG cube demo that can successfully GIPA the command. Change-Id: Iefb9f82d3f21e110d45f7d6aae7c8c9ea3af20b9 (cherry picked from commit d3d887ab4640fd948834651b8e82782955f53941)
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions