hal/dx12: expose WARP as a fallback adapter (#2290)

This commit is contained in:
Dzmitry Malyshau authored and GitHub committed 2021-12-14 15:05:28 +00:00
1 parent 79e42e08c3
commit f8beffe289
1 file changed
+1 -1
+1 -1
View File
@@ -97,7 +97,7 @@ impl super::Adapter {
device: desc.DeviceId as usize,
device_type: if (desc.Flags & dxgi::DXGI_ADAPTER_FLAG_SOFTWARE) != 0 {
workarounds.avoid_cpu_descriptor_overwrites = true;
wgt::DeviceType::VirtualGpu
wgt::DeviceType::Cpu
} else if features_architecture.CacheCoherentUMA != 0 {
wgt::DeviceType::IntegratedGpu
} else {