mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-26 09:21:04 +01:00
hal/dx12: Fix UMA check
This commit is contained in:
1 parent
b19288a78b
commit
54f20bedef
1 file changed
+1
-1
@@ -98,7 +98,7 @@ impl super::Adapter {
|
||||
device_type: if (desc.Flags & dxgi::DXGI_ADAPTER_FLAG_SOFTWARE) != 0 {
|
||||
workarounds.avoid_cpu_descriptor_overwrites = true;
|
||||
wgt::DeviceType::Cpu
|
||||
} else if features_architecture.CacheCoherentUMA != 0 {
|
||||
} else if features_architecture.UMA != 0 {
|
||||
wgt::DeviceType::IntegratedGpu
|
||||
} else {
|
||||
wgt::DeviceType::DiscreteGpu
|
||||
|
||||
Reference in new issue
Block a user