gfx-rs / gfx

[maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
http://gfx-rs.github.io/
Apache License 2.0
5.35k stars 551 forks source link

Use hasUnifiedMemory instead of isLowPower on Metal #3766

Open kvark opened 3 years ago

kvark commented 3 years ago

See https://developer.apple.com/documentation/metal/mtldevice/3229025-hasunifiedmemory "isLowPower" is not good because it reports "false" on M1.