KhronosGroup / KhronosGroup/glslang
Translate array-of-arrays of resources to Vulkan single-level arrays
Open
GLSL/ESSL
Missing Functionality
SPIR-V
- Dominant language
- C++
- Stars
- 3.6k
- Forks
- 989
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 31
Description
Khronos decided that anything in Vulkan that requires a binding should only be a single-dimensional array in SPIR-V.
Glslang could have new functionality to lower arrays-of-arrays by doing flattening arithmetic. However, this functionality is currently missing.
(In the meantime, I will add a warning about the situation.)
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by locating the compiler path that translates resource arrays to SPIR-V and review existing Vulkan resource-binding tests; done means arrays-of-arrays are lowered to single-level arrays with correct flattening arithmetic.
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
- 25/100