KhronosGroup / KhronosGroup/SPIRV-Cross
[GLSL] Packing functions emulation
Open
question
- Dominant language
- GLSL
- Stars
- 2.5k
- Forks
- 713
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 16
Description
It would be nice if spirv-cross would emulate packing functions (like packHalf2x16) if glsl doesn't support them. Google angle project do that (BuiltInFunctionEmulatorGLSL.cpp).
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the GLSL code-generation paths and ANGLE's BuiltInFunctionEmulatorGLSL.cpp, especially how packHalf2x16 and related packing functions are handled. Determine which GLSL targets need emulation and define completion as generating compatible emulation for the unsupported packing functions.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100