microsoft / microsoft/DirectXShaderCompiler
Force `-enable-16bit-types` for SM 6.9 and above
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 3.7k
- Forks
- 900
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 44
Description
@pow2clk pointed out that since SM 6.9 required FP16 support, it's surprising that DXC doesn't enable 16bit types by default.
Since SM 6.9 presumably shipped without this issue addressed, it might be better to do this for SM 6.10 and up.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating DXC's handling of shader model versions and the -enable-16bit-types option. Check how SM 6.9 and SM 6.10 are represented and identify the relevant compiler tests or entry points. Done means 16-bit types are enabled by default for SM 6.10 and newer, with behavior for SM 6.9 resolved and covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100