未验证 提交 e80bc100 编写于 作者: J John Bauman 提交者: GitHub

Enable VK_KHR_get_physical_device_properties2 (#5982)

上级 aee78c8c
......@@ -36,6 +36,11 @@ VulkanApplication::VulkanApplication(
#if OS_FUCHSIA
if (ExtensionSupported(supported_extensions,
VK_KHR_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME)) {
// VK_KHR_get_physical_device_properties2 is a dependency of the memory
// capabilities extension, so the validation layers require that it be
// enabled.
enabled_extensions.emplace_back(
VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME);
enabled_extensions.emplace_back(
VK_KHR_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册