KhronosGroup / KhronosGroup/GLSL
Is it valid to access UBOs from rmiss/intersection shaders
- 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
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