mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
hal/dx12: expose WARP as a fallback adapter (#2290)
This commit is contained in:
@@ -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