Clspv generates invalid SPIR-V for some workgroup variables
Open
bug
- Dominant language
- LLVM
- Stars
- 729
- Forks
- 110
- Avg merge
- 17h 51m
- Merged PRs (30d)
- 23
Description
https://github.com/KhronosGroup/SPIRV-Tools/pull/6012 added validation that layout decorations are used correctly. It catches some invalid codegen in clspv related to Workgroup storage class.
Most of the logic needed is in place, but for SPIR-V 1.4 or later as it relies on OpCopyLogical. That will need extended more generally to earlier SPIR-V versions using composite extract and construct.
Contributor guide
Assessment
This issue has not been assessed yet.