KhronosGroup / KhronosGroup/SPIRV-Tools

InstanceId is permitted only for 3 specific NV raytracing shader types

Open
#2,051 4 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

Followup to #2046

#2049 added a coarse-grain check that only checked the NV raytracing capability. This issue tracks the more precise check, i.e. that InstanceId is only used in the 3 specific shader types.

Contributor guide

Open the contributing guide

Research direction

Read issues #2046 and #2049 first, then locate the coarse-grain NV raytracing capability check in SPIRV-Tools. Confirm which three shader types permit InstanceId and make the validation reject its use in every other shader type.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers, computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.