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

[dxvk] Always enable multiDrawIndirect and shaderDrawParameters features

This commit is contained in:
Philip Rebohle 2024-10-02 19:01:31 +02:00 committed by Philip Rebohle
parent 46f10c8fd5
commit b35c0bce4f
2 changed files with 4 additions and 3 deletions

View File

@ -1905,8 +1905,6 @@ namespace dxvk {
enabled.core.features.shaderImageGatherExtended = VK_TRUE;
enabled.core.features.textureCompressionBC = VK_TRUE;
enabled.vk11.shaderDrawParameters = VK_TRUE;
enabled.vk12.samplerMirrorClampToEdge = VK_TRUE;
enabled.vk13.shaderDemoteToHelperInvocation = VK_TRUE;
@ -1923,7 +1921,6 @@ namespace dxvk {
// Required for Feature Level 11_0
enabled.core.features.drawIndirectFirstInstance = supported.core.features.drawIndirectFirstInstance;
enabled.core.features.fragmentStoresAndAtomics = supported.core.features.fragmentStoresAndAtomics;
enabled.core.features.multiDrawIndirect = supported.core.features.multiDrawIndirect;
enabled.core.features.tessellationShader = supported.core.features.tessellationShader;
// Required for Feature Level 11_1

View File

@ -308,6 +308,10 @@ namespace dxvk {
// Always enable robust buffer access
enabledFeatures.core.features.robustBufferAccess = VK_TRUE;
// Always enable features used by the HUD
enabledFeatures.core.features.multiDrawIndirect = VK_TRUE;
enabledFeatures.vk11.shaderDrawParameters = VK_TRUE;
// Enable variable multisample rate if supported
enabledFeatures.core.features.variableMultisampleRate =
m_deviceFeatures.core.features.variableMultisampleRate;