1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 16:24:12 +01:00

[dxvk] Made VK_KHR_maintenance2 optional

Unlike VK_KHR_maintenance1, not all D3D11 applications rely on
features provided by this extension. Keeping this optional helps
with RenderDoc, which does not expose the extension.
This commit is contained in:
Philip Rebohle 2018-01-03 02:38:55 +01:00
parent da751a46f7
commit 75152ae16f

View File

@ -199,12 +199,14 @@ namespace dxvk {
vk::NameList DxvkAdapter::enableExtensions() {
std::vector<const char*> extOptional = { };
std::vector<const char*> extOptional = {
VK_KHR_MAINTENANCE2_EXTENSION_NAME,
};
std::vector<const char*> extRequired = {
VK_KHR_SHADER_DRAW_PARAMETERS_EXTENSION_NAME,
VK_KHR_SWAPCHAIN_EXTENSION_NAME,
VK_KHR_MAINTENANCE1_EXTENSION_NAME,
VK_KHR_MAINTENANCE2_EXTENSION_NAME,
};
const vk::NameSet extensionsAvailable