diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-03-30 23:25:03 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-03-30 23:25:03 +1100 |
| commit | 18b77323841ba3853e6663757fd47ac3bb007eac (patch) | |
| tree | a17f7ffd100fb6f6a4d65b0b6bcd55fae294804b /src/layer.cc | |
| parent | 108801fe96d855c5ccf532639a6db8ff0065310e (diff) | |
Turn on reflex by default for all swapchains
Diffstat (limited to 'src/layer.cc')
| -rw-r--r-- | src/layer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layer.cc b/src/layer.cc index 78a63d3..186178a 100644 --- a/src/layer.cc +++ b/src/layer.cc @@ -743,7 +743,7 @@ static VKAPI_ATTR VkResult VKAPI_CALL CreateSwapchainKHR( // VK_NV_low_latency2 allows a swapchain to be created with the low latency // mode already on via VkSwapchainLatencyCreateInfoNV. - auto was_low_latency_requested = false; + auto was_low_latency_requested = true; // enable by default? if (const auto slci = find_next<VkSwapchainLatencyCreateInfoNV>( pCreateInfo, VK_STRUCTURE_TYPE_SWAPCHAIN_LATENCY_CREATE_INFO_NV); slci) { @@ -832,7 +832,7 @@ void QueueNotifyOutOfBandNV(VkQueue queue, // enum even exists (I guess we will find out later when nothing works). const auto context = layer_context.get_context(queue); - context->should_ignore_latency = true; + context->is_out_of_band = true; } VkResult SetLatencySleepModeNV(VkDevice device, VkSwapchainKHR swapchain, |
