KhronosGroup / KhronosGroup/SPIRV-Tools
Opt: Add folding support for ConvertFToS, ConvertSToF
Open
component:optimization
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 709
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 28
Description
Need for these has been seen in real, live shaders
I will claim this issue.
Contributor guide
Research direction
Locate the optimizer's existing folding support and tests for conversion operations, then compare how ConvertFToS and ConvertSToF are represented. Add coverage for the requested folding cases and verify the optimizer tests pass with both conversions handled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100