microsoft / microsoft/DirectXShaderCompiler
[Feature Request] firstbitlow for uint64_t
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 3.7k
- Forks
- 900
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 44
Description
When compiling shaders with SPIRV mode I get this error:
error: firstbitlow is currently limited to 32-bit width components when targeting SPIR-V
When compiling with HLSL, this is supported. I would like this to be supported in SPIRV mode if possible.
Best regards,
Janos
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
The issue names no source file, test, or entry point. Start by reproducing the uint64_t firstbitlow diagnostic when targeting SPIR-V, then trace the compiler path that enforces the 32-bit limitation. Done means uint64_t firstbitlow compiles in SPIR-V with behavior supported by the existing HLSL path.
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
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100