mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-23 16:01:04 +01:00
hal/dx12: Fix UMA check
This commit is contained in:
1 parent
db005da49d
commit
f67847d1d1
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