tracy icon indicating copy to clipboard operation
tracy copied to clipboard

GPU tracing breaks when paired with a rendering layer that submits calls out of order

Open BSVino opened this issue 1 year ago • 2 comments

I use bgfx as a rendering layer and with bgfx you can submit draw calls in any order and it will reorder your draw calls to optimize submission, for example by grouping materials to reduce switches. However, if I add GPU traces (TracyGpuZone) for anything but the highest level of drawing then it causes the tracy profiler client to crash as it receives signals. If I move the trace markups to be inside bgfx then I lose the semantic information about what is being rendered, which is much less useful. It would be nice if Tracy could understand that a single draw call/zone may correspond to multiple GPU sections.

(Love tracy btw it's great.)

BSVino avatar Mar 14 '23 05:03 BSVino