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

[dxvk] Enable vulkanMemoryModel feature

This commit is contained in:
Philip Rebohle 2022-09-08 23:33:21 +02:00
parent 0b891a93b2
commit 68cfc84329

View File

@ -356,6 +356,9 @@ namespace dxvk {
enabledFeatures.core.features.variableMultisampleRate =
m_deviceFeatures.core.features.variableMultisampleRate;
// Always enable memory model so client APIs can use it
enabledFeatures.vk12.vulkanMemoryModel = VK_TRUE;
// Optionally used by some client API extensions
enabledFeatures.vk12.drawIndirectCount =
m_deviceFeatures.vk12.drawIndirectCount;
@ -905,6 +908,7 @@ namespace dxvk {
"\n bufferDeviceAddress : ", features.vk12.bufferDeviceAddress,
"\n shaderOutputViewportIndex : ", features.vk12.shaderOutputViewportIndex,
"\n shaderOutputLayer : ", features.vk12.shaderOutputLayer,
"\n vulkanMemoryModel : ", features.vk12.vulkanMemoryModel,
"\nVulkan 1.3",
"\n robustImageAccess : ", features.vk13.robustImageAccess,
"\n pipelineCreationCacheControl : ", features.vk13.pipelineCreationCacheControl,