KhronosGroup / KhronosGroup/SPIRV-Tools

spirv-val: Check that push constants are not decorated with binding / set locations

Open
#1,590 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.