GLSL
GLSL copied to clipboard
Is it valid to access UBOs from rmiss/intersection shaders
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?
What do you mean by "blocking pipeline"? is that a hang?
UBOs should work as normal in all ray tracing stages.
If you think there is a driver bug, please send a repro case to [email protected]
By blocking pipeline I mean that the fence on the queue submission times out regardless of the timeout value.
just sent this link to [email protected], posting it here for everybody else to comment on
https://github.com/heeen/rtxON/commit/000cd324d5b224624113f20215d8fb03915083b4