mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- tuned internal MoltenVK settings for better performance
See https://github.com/KhronosGroup/MoltenVK/issues/581#issuecomment-487293665
This commit is contained in:
parent
20cc066dc7
commit
8d36f0a0cf
1 changed files with 5 additions and 0 deletions
|
@ -386,6 +386,11 @@ public:
|
|||
setenv("MVK_CONFIG_FORCE_LOW_POWER_GPU", "1", 0);
|
||||
}
|
||||
|
||||
// The following settings improve performance like suggested at
|
||||
// https://github.com/KhronosGroup/MoltenVK/issues/581#issuecomment-487293665
|
||||
setenv("MVK_CONFIG_SYNCHRONOUS_QUEUE_SUBMITS", "0", 0);
|
||||
setenv("MVK_CONFIG_PRESENT_WITH_COMMAND_BUFFER", "0", 0);
|
||||
|
||||
try
|
||||
{
|
||||
m_vulkanDevice = new VulkanDevice();
|
||||
|
|
Loading…
Reference in a new issue