Intel recommends to do tail call optimizations in raygen shaders, means TraceRay should be the last call
This saves the hardware time to recover after the call, fetch stuff and put it back
It is good this best practice to be right in the first example.
Intel recommends to do tail call optimizations in raygen shaders, means TraceRay should be the last call This saves the hardware time to recover after the call, fetch stuff and put it back It is good this best practice to be right in the first example.