Skip to content

Commit

Permalink
Enable VK_KHR_get_physical_device_properties2 (flutter#5982)
Browse files Browse the repository at this point in the history
  • Loading branch information
John Bauman authored Aug 10, 2018
1 parent aee78c8 commit e80bc10
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vulkan/vulkan_application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit e80bc10

Please sign in to comment.