diff --git a/wgpu-hal/src/dx12/adapter.rs b/wgpu-hal/src/dx12/adapter.rs index 4de6be9b2af..c35cfd96de9 100644 --- a/wgpu-hal/src/dx12/adapter.rs +++ b/wgpu-hal/src/dx12/adapter.rs @@ -103,25 +103,8 @@ impl super::Adapter { } else { wgt::DeviceType::DiscreteGpu }, - mpo: false, }; - unsafe { - for i in 0.. { - let mut output = native::WeakPtr::::null(); - match adapter.EnumOutputs(i, output.mut_void() as _).into_result() { - Ok(_) => { - info.mpo = output.SupportsOverlays() == minwindef::TRUE; - output.destroy(); - if info.mpo { - break; - } - } - Err(_) => break, - } - } - } - let mut options: d3d12::D3D12_FEATURE_DATA_D3D12_OPTIONS = unsafe { mem::zeroed() }; assert_eq!(0, unsafe { device.CheckFeatureSupport( diff --git a/wgpu-hal/src/gles/adapter.rs b/wgpu-hal/src/gles/adapter.rs index a0d56f1924d..87307ac27f6 100644 --- a/wgpu-hal/src/gles/adapter.rs +++ b/wgpu-hal/src/gles/adapter.rs @@ -161,7 +161,6 @@ impl super::Adapter { device: 0, device_type: inferred_device_type, backend: wgt::Backend::Gl, - mpo: false, } } diff --git a/wgpu-hal/src/metal/mod.rs b/wgpu-hal/src/metal/mod.rs index 17d629595c5..1dd3e252c2a 100644 --- a/wgpu-hal/src/metal/mod.rs +++ b/wgpu-hal/src/metal/mod.rs @@ -116,7 +116,6 @@ impl crate::Instance for Instance { device: 0, device_type: shared.private_caps.device_type(), backend: wgt::Backend::Metal, - mpo: false, }, features: shared.private_caps.features(), capabilities: shared.private_caps.capabilities(), diff --git a/wgpu-hal/src/vulkan/adapter.rs b/wgpu-hal/src/vulkan/adapter.rs index 25661a7cfdd..bc03d8e7df7 100644 --- a/wgpu-hal/src/vulkan/adapter.rs +++ b/wgpu-hal/src/vulkan/adapter.rs @@ -903,7 +903,6 @@ impl super::Instance { _ => wgt::DeviceType::Other, }, backend: wgt::Backend::Vulkan, - mpo: false, }; let (available_features, downlevel_flags) = phd_features.to_wgpu(&phd_capabilities); diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index 09c7ee26ece..aee99070f28 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -975,8 +975,6 @@ pub struct AdapterInfo { pub device_type: DeviceType, /// Backend used for device pub backend: Backend, - /// MPO(Multiple Plane Overlay) supported - pub mpo: bool, } /// Describes a [`Device`]. diff --git a/wgpu/src/backend/web.rs b/wgpu/src/backend/web.rs index 5969507b7dc..9f3e55edba9 100644 --- a/wgpu/src/backend/web.rs +++ b/wgpu/src/backend/web.rs @@ -1173,7 +1173,6 @@ impl crate::Context for Context { device: 0, device_type: wgt::DeviceType::Other, backend: wgt::Backend::BrowserWebGpu, - mpo: false, } }