mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 15:19:58 -04:00
No vendor profiler covers an RX 580 (RGP supports RDNA only) and RenderDoc cannot capture this program, so nothing showed where 38 ms of GPU time per frame went. With NX2NAVI_PASS_TIMES=1 every pass mark also writes a timestamp at its two points into a query slot pair of its ring slot. The replay thread takes in the marks whose submission has finished, resets their slots on the host (hostQueryReset) and sums their time per kind of pass (size, attachment formats, first fragment or compute shader); every 600 frames the log lists the 15 with the most GPU time per frame. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 KiB
37 KiB