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:
committed by
Chinmay Garde
parent
066f1b719a
commit
65dbd61aca
@@ -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_);
|
||||
|
||||
Reference in New Issue
Block a user