KhronosGroup / KhronosGroup/SPIRV-Tools

Opt: Add folding support for ConvertFToS, ConvertSToF

Open
#1,333 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.