KhronosGroup / KhronosGroup/SPIRV-Tools
spirv-val: Check that push constants are not decorated with binding / set locations
Open
component:validation
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 709
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 28
Description
Spawned from https://github.com/KhronosGroup/glslang/issues/1367 --- binding and set decorations are not allowed in push constants. This doesn't seem to be verified by spirv-val currently.
Contributor guide
Research direction
Start with the spirv-val entry point and trace its existing validation for push constants and binding/set decorations. Verify that push constants carrying either decoration are rejected; completion means the validator enforces this rule.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100