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 549 forks source link

Minimum needed DX12 Feature Level? #1657

Open callym opened 6 years ago

callym commented 6 years ago

Does gfx need any support for anything higher than 11.0, or could this be reduced to allow the DX12 backend to run on more devices? Changing it to 11.0 seems to run the examples fine, but I'm not sure if I'll run into problems later on if gfx needs a higher level anywhere.

https://github.com/gfx-rs/gfx/blob/5600e55ffa517746afbb8699fe620bf130a4dac3/src/backend/dx12/src/lib.rs#L147-L154

msiglreith commented 6 years ago

Looks fine to me, need to adjust some future features and limits probably. https://msdn.microsoft.com/en-us/library/mt186615.aspx Only possible issues I see are multisampling related, but we haven't tackled this so far.