How to debug non-return or compute function?

I am using Frame Capture Debugging Tools works well for vertex shader functions, but I can't debug the compute function, the debug button is gray and show me Unsupported Post vertex transform data.

Answered by Chengliang in 695856022

How to debug a void vertex function?

Did the shader complete calling all of the routines on another thread?

For Example:

vertex void computeNormal(uint vertexID [[vertex_id]], ... ) { ... }

I can't debug such as this function, because it don't return any vertex output just a void function.

Accepted Answer

How to debug a void vertex function?

How to debug non-return or compute function?
 
 
Q