File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -326,6 +326,12 @@ namespace dxvk {
326
326
// Always enable robust buffer access
327
327
enabledFeatures.core .features .robustBufferAccess = VK_TRUE;
328
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
+
329
335
// Always enable features used by the HUD
330
336
enabledFeatures.core .features .multiDrawIndirect = VK_TRUE;
331
337
enabledFeatures.vk11 .shaderDrawParameters = VK_TRUE;
You can’t perform that action at this time.
0 commit comments