Develop
Develop
Select your platform

Performing a Draw Call Trace

This topic describes how to perform a draw call trace, which collects low-level metrics pertaining to each individual draw call.
Note: Due to a bug in Qualcomm’s drivers, sometimes you will fail to capture Meta Quest specific counters with the error message “Failed to retrieve drawcall trace results. Received 0 metrics.” If this happens, close RenderDoc Meta Fork, close the app in-headset, and relaunch and try again. If you are still getting errors after 2-3 tries, it could be due to API errors you need to fix yourself.
To perform a draw call trace, load a capture and select Windows > Performance Counter Viewer.
Windows > Performance Counter View
Click the Capture counters button.
Capture counters button
Select the desired metrics by clicking on the check boxes, then click on the Sample counters button.
Performance counter selection
After replaying the scene on a Meta Quest headset, you’ll be presented with a table of draw call metrics in the Performance Counter Viewer. Each row represents a draw call, and you can double-click on a row to select the corresponding draw call in the Event Browser.
Performance Counter Viewer
For more information on the available metrics, see Draw Call Metrics.

See Also

Did you find this page helpful?