mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 00:11:11 +01:00
hal/dx12: expose WARP as a fallback adapter (#2290)
This commit is contained in:
1 parent
79e42e08c3
commit
f8beffe289
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user