We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
waitAll
vkWaitForFences
1 parent 81542ea commit 4b3bf07Copy full SHA for 4b3bf07
1 file changed
wgpu-hal/src/vulkan/swapchain/native.rs
@@ -468,9 +468,10 @@ impl Swapchain for NativeSwapchain {
468
// latency, depending on how the platform implements waiting within
469
// acquire.
470
unsafe {
471
+ // The `wait_all` argument must be `true` to avoid crash on some Android devices. See https://github.com/gfx-rs/wgpu/pull/8769
472
self.device
473
.raw
- .wait_for_fences(&[self.fence], false, timeout_ns)
474
+ .wait_for_fences(&[self.fence], true, timeout_ns)
475
.map_err(map_host_device_oom_and_lost_err)?;
476
477
0 commit comments