Severe stall when resizing swapchain with Vulkan only backend with GPU_BASED_VALIDATION enabled #7898
Closed
Cellestite
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
If i initialize a webGPU instance with codes below, if will NOT cause stall when i am trying to resize my window.
let instance = wgpu::Instance::new(&wgpu::InstanceDescriptor { backends: wgpu::Backends::VULKAN, flags: wgpu::InstanceFlags::DEBUG | wgpu::InstanceFlags::VALIDATION, ..Default::default() });
However, using wgpu::InstanceFlags::GPU_BASED_VALIDATION cause severe stall when window is resizing.
let instance = wgpu::Instance::new(&wgpu::InstanceDescriptor { backends: wgpu::Backends::VULKAN, flags: wgpu::InstanceFlags::GPU_BASED_VALIDATION , ..Default::default() });
webGPU-stall-vulkan.mp4
Discuss
I haven't see the implementation detail of validation layer. I had wrote some simple vulkan app with validation layer, layer itself will NOT cause this severe stall.
Is this a normal phenomenon? Is it discussed by the community already?
Beta Was this translation helpful? Give feedback.
All reactions