KhronosGroup / KhronosGroup/SPIRV-Tools

[OpenCL validation] Storage class of variables decorated with BuiltIn

Open
#3,355 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

New rule in the environment specification:
>An OpVariable in a SPIR-V module with the BuiltIn decoration represents a built-in variable. All
built-in variables must be in the Input storage class.

Contributor guide

Open the contributing guide

Research direction

Start by locating the OpenCL validation handling for OpVariable and BuiltIn decorations in SPIR-V Tools. Check how existing validation rules and tests are organized, then enforce that built-in variables use the Input storage class and add coverage showing the rule rejects other storage classes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers, devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.