KhronosGroup / KhronosGroup/SPIRV-Tools
Opt: Opaque Inliner Needed
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 709
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 28
Description
Create inliner pass which *only* inlines function calls with opaque arguments or return value.
This pass is part of an effort to assist glslang in creating valid SPIR-V from HLSL shaders which store and load opaque objects.
The algorithm will start by performing the inlining only in entry point functions. After the inlining for a function is complete, the functions of the remaining function calls are added to the list to be processed.
Claimed by @greg-lunarg and started.
Contributor guide
Research direction
Start from the entry point functions described in the issue and determine how calls with opaque arguments or return values should be selected before processing remaining callees. Done means the pass handles the stated inlining sequence and assists glslang in producing valid SPIR-V for HLSL shaders; the work is already claimed and started.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100