How to debug Metal raytracing intersection functions?

is there a way to debug Metal raytracing intersection functions?

how is that done? i cannot see the intersection functions in the Xcode shader debugger.

Replies

Custom intersection functions are listed under Bound Resources in the Metal Debugger, and can be visualised in the Acceleration Structure Viewer, however shader debugging of these custom intersection functions is not currently supported.