gpui_wgpu: Remove redundant match arms for backend priority (#56032)

Release Notes:

- N/A
This commit is contained in:
Xiaobo Liu 2026-05-07 23:07:36 +08:00 committed by GitHub
parent 07c1943b43
commit bfe5dfb4a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -278,9 +278,7 @@ impl WgpuContext {
};
let backend_priority: u8 = match info.backend {
wgpu::Backend::Vulkan => 0,
wgpu::Backend::Metal => 0,
wgpu::Backend::Dx12 => 0,
wgpu::Backend::Vulkan | wgpu::Backend::Metal | wgpu::Backend::Dx12 => 0,
_ => 1,
};