Log DXC/FXC and shader model at startup on the DirectX12 backend
Open
A-Diagnostics
A-Rendering
C-Feature
X-Uncontroversial
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## What problem does this solve or what need does it fill?
Some GPU features (SM6+) require DXC, which is not the default DX12 shader compiler. Even if your GPU should support them, some features might be reported as not available, which is confusing.
## What solution would you like?
Log whether the app is using FXC or DXC at startup, and the max supported shader model.
## Additional context
I was trying to run my app through a debugger, and was confused why it was telling me some features were not supported. I had forgotten to copy DXC to the target directory of my app, so it was silently using FXC.
Contributor guide
Assessment
This issue has not been assessed yet.