mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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:
parent
da751a46f7
commit
75152ae16f
@ -199,12 +199,14 @@ namespace dxvk {
|
|||||||
|
|
||||||
|
|
||||||
vk::NameList DxvkAdapter::enableExtensions() {
|
vk::NameList DxvkAdapter::enableExtensions() {
|
||||||
std::vector<const char*> extOptional = { };
|
std::vector<const char*> extOptional = {
|
||||||
|
VK_KHR_MAINTENANCE2_EXTENSION_NAME,
|
||||||
|
};
|
||||||
|
|
||||||
std::vector<const char*> extRequired = {
|
std::vector<const char*> extRequired = {
|
||||||
VK_KHR_SHADER_DRAW_PARAMETERS_EXTENSION_NAME,
|
VK_KHR_SHADER_DRAW_PARAMETERS_EXTENSION_NAME,
|
||||||
VK_KHR_SWAPCHAIN_EXTENSION_NAME,
|
VK_KHR_SWAPCHAIN_EXTENSION_NAME,
|
||||||
VK_KHR_MAINTENANCE1_EXTENSION_NAME,
|
VK_KHR_MAINTENANCE1_EXTENSION_NAME,
|
||||||
VK_KHR_MAINTENANCE2_EXTENSION_NAME,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const vk::NameSet extensionsAvailable
|
const vk::NameSet extensionsAvailable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user