KhronosGroup / KhronosGroup/GLSL

Is it valid to access UBOs from rmiss/intersection shaders

Open
#72 3 comments 0 reactions 0 assignees View on GitHub
Vulkan
Dominant language
JavaScript
Stars
458
Forks
114
Avg merge
4m
Merged PRs (30d)
1

Description

I am observing a blocking pipeline when I try to access a UBO block from the miss shader for e.g. returning a "skybox" color configured from a uniform.

I skimmed the vulkan spec and the extension addendum and there is no clear wording on raygen shaders being able to access uniforms and miss shaders not.

So is this a nvidia bug or expected behavior?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Vulkan specification and the ray-tracing extension addendum for uniform or UBO access rules in raygen, miss, and intersection shaders. Reproduce the blocking pipeline with a miss shader reading a UBO, then document whether the behavior is expected or a driver bug and identify the relevant specification wording.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.