diff --git a/wgpu-core/src/instance.rs b/wgpu-core/src/instance.rs index d93d5d3d08..315caa4544 100644 --- a/wgpu-core/src/instance.rs +++ b/wgpu-core/src/instance.rs @@ -735,7 +735,7 @@ impl Global { let preferred_gpu = match desc.power_preference { PowerPreference::LowPower => integrated.or(other).or(discrete).or(virt).or(cpu), - PowerPreference::HighPerformance => discrete.or(other).or(integrated).or(virt).or(cpu), + PowerPreference::HighPerformance => discrete.or(integrated).or(other).or(virt).or(cpu), }; let mut selected = preferred_gpu.unwrap_or(0); diff --git a/wgpu-hal/src/gles/adapter.rs b/wgpu-hal/src/gles/adapter.rs index 81898c34be..bdcaa37e6d 100644 --- a/wgpu-hal/src/gles/adapter.rs +++ b/wgpu-hal/src/gles/adapter.rs @@ -134,7 +134,7 @@ impl super::Adapter { } else if strings_that_imply_cpu.iter().any(|&s| renderer.contains(s)) { wgt::DeviceType::Cpu } else { - wgt::DeviceType::DiscreteGpu + wgt::DeviceType::Other }; // source: Sascha Willems at Vulkan