Inspect draw calls

When the analysis completes, you’ll see Frame Advisor’s Analysis screen. To inspect draw calls, follow these steps:

Image Alt Text:Frame Advisor Analysis screen with Frame hierarchy, framebuffer, and metrics panelsFrame Advisor's Analysis screen

  1. To view a list of captured frames, expand the Frame hierarchy view. The example frame draws over 657,000 primitives using 426 draw calls within 16 render passes.

    Image Alt Text:Frame hierarchy showing 16 render passes, 426 draw calls, and 657,414 primitivesThe Frame Hierarchy view in Frame Advisor

  2. The Frame hierarchy shows all the render passes that make up the frame. Expand a render pass to inspect its draw calls. Step through the draw calls and observe how each one changes the framebuffer to see how the scene is built.

    Image Alt Text:Framebuffer changes as draw calls are stepped throughStepping through draw calls in Frame Advisor

    Draw calls are expensive for the CPU to process, so reduce their number where possible. Look for draw calls that don’t render visible changes to the framebuffer. A draw that makes no visible change can be outside the frustum or behind another object. Use software culling techniques to eliminate these draws.

    Some objects might be drawn with a large number of primitives. As an object is drawn, compare its level of detail with its size and position on screen. Using simpler meshes, particularly for objects far from the camera, can significantly increase performance.

  3. Look for many identical objects being drawn individually, such as these pillars. To reduce the number of draw calls, consider batching multiple objects into a single combined mesh or using an instanced draw call.

    Image Alt Text:Repeated pillars appearing through individual draw callsFramebuffers view in Frame Advisor

What you’ve accomplished and what’s next

You’ve inspected draw calls and framebuffer changes for inefficient rendering behavior.

Next, you’ll use the Render Graph to analyze frame construction.

Back
Next