google / google/clspv

Clspv generates invalid SPIR-V for some workgroup variables

Open
#1,464 0 comments 0 reactions 1 assignee Claimed by @alan-baker View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.