Enable VK_GOOGLE_external_memory_magma extension on Fuchsia (flutter/engine#3999)

Newer version of the vulkan validation layer check that this
extension is enabled before allowing vkExportDeviceMemoryMAGMA.
This commit is contained in:
John Bauman
2017-08-23 11:53:22 -07:00
committed by Chinmay Garde
parent 066f1b719a
commit 65dbd61aca

View File

@@ -60,6 +60,9 @@ VulkanDevice::VulkanDevice(VulkanProcTable& p_vk,
const char* extensions[] = {
VK_KHR_SWAPCHAIN_EXTENSION_NAME,
#if OS_FUCHSIA
VK_GOOGLE_EXTERNAL_MEMORY_MAGMA_EXTENSION_NAME,
#endif
};
auto enabled_layers = DeviceLayersToEnable(vk, physical_device_);