We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 780af54 commit 210f02aCopy full SHA for 210f02a
1 file changed
src/dxvk/dxvk_adapter.cpp
@@ -326,6 +326,12 @@ namespace dxvk {
326
// Always enable robust buffer access
327
enabledFeatures.core.features.robustBufferAccess = VK_TRUE;
328
329
+ // Always enable sparse residency if we can use it for efficient zero-initialization
330
+ if (m_deviceInfo.core.properties.sparseProperties.residencyNonResidentStrict) {
331
+ enabledFeatures.core.features.sparseBinding = m_deviceFeatures.core.features.sparseBinding;
332
+ enabledFeatures.core.features.sparseResidencyBuffer = m_deviceFeatures.core.features.sparseResidencyBuffer;
333
+ }
334
+
335
// Always enable features used by the HUD
336
enabledFeatures.core.features.multiDrawIndirect = VK_TRUE;
337
enabledFeatures.vk11.shaderDrawParameters = VK_TRUE;
0 commit comments