diff --git a/CHANGELOG.md b/CHANGELOG.md index c94b7aa225d..fdbb413439e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -182,6 +182,7 @@ By @andyleiserson in [#9321](https://github.com/gfx-rs/wgpu/pull/9321). - Fixed `SHADER_I16` not enabling `storage_buffer16_bit_access` or `storage_input_output16`, causing Vulkan validation errors when using 16-bit integers in buffers. By @JMS55 in [#9412](https://github.com/gfx-rs/wgpu/pull/9412). - Fixed validation errors when frames take longer than the specified swapchain acquire timeout. By @atlv24 in [#9405](https://github.com/gfx-rs/wgpu/pull/9405). - Fixed limits on Mesa's Honeykrisp / Asahi Linux. By @im-0 in [#9393](https://github.com/gfx-rs/wgpu/pull/9393). +- Fixed vkAcquireNextImage fence being awaited on non-Windows platforms causing frametime spikes on nvidia drivers. By @cohaereo in [#9486](https://github.com/gfx-rs/wgpu/pull/9486). #### dx12 diff --git a/wgpu-hal/src/vulkan/swapchain/native.rs b/wgpu-hal/src/vulkan/swapchain/native.rs index 823e4e852b8..d69a8af20ae 100644 --- a/wgpu-hal/src/vulkan/swapchain/native.rs +++ b/wgpu-hal/src/vulkan/swapchain/native.rs @@ -466,10 +466,7 @@ impl Swapchain for NativeSwapchain { // Windows where the Vulkan driver is using a DXGI swapchain. See // https://github.com/gfx-rs/wgpu/issues/8310 and // https://github.com/gfx-rs/wgpu/issues/8354 for more details. - // - // On other platforms, this wait may serve to slightly decrease frame - // latency, depending on how the platform implements waiting within - // acquire. + #[cfg(target_os = "windows")] unsafe { // The `wait_all` argument must be `true` to avoid crash on some Android devices. See https://github.com/gfx-rs/wgpu/pull/8769 self.device