Update ZVulkan to support graphics pipeline libraries
This commit is contained in:
parent
ecf60edc33
commit
340a98950f
5 changed files with 81 additions and 18 deletions
|
|
@ -141,6 +141,11 @@ void VulkanDevice::CreateDevice()
|
|||
*next = &EnabledFeatures.Fault;
|
||||
next = &EnabledFeatures.Fault.pNext;
|
||||
}
|
||||
if (SupportsExtension(VK_EXT_GRAPHICS_PIPELINE_LIBRARY_EXTENSION_NAME))
|
||||
{
|
||||
*next = &EnabledFeatures.GraphicsPipelineLibrary;
|
||||
next = &EnabledFeatures.GraphicsPipelineLibrary.pNext;
|
||||
}
|
||||
|
||||
VkResult result = vkCreateDevice(PhysicalDevice.Device, &deviceCreateInfo, nullptr, &device);
|
||||
CheckVulkanError(result, "Could not create vulkan device");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue