mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-23 07:51:08 +01:00
Prefer discrete GPU for PowerPreference::Default
This commit is contained in:
1 parent
3a11fab693
commit
4b46e885fd
1 file changed
+1
-1
@@ -271,7 +271,7 @@ impl<F: IdentityFilter<AdapterId>> Global<F> {
|
||||
}
|
||||
|
||||
let preferred_gpu = match desc.power_preference {
|
||||
PowerPreference::Default => integrated.or(discrete).or(other).or(virt),
|
||||
PowerPreference::Default => discrete.or(integrated).or(other).or(virt),
|
||||
PowerPreference::LowPower => integrated.or(other).or(discrete).or(virt),
|
||||
PowerPreference::HighPerformance => discrete.or(other).or(integrated).or(virt),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user