4.3 Analyzing the fragment count

Graphics Analyzer can count the number of fragments that a shader processes per draw call. If depth testing is enabled and a fragment would be excluded as a result, then that fragment is not included in the count.

To toggle this feature, click . When a frame is captured while this capture mode is enabled, each draw call increments the Fragments field of the fragment shader used to draw it. The fragment count represents the number of fragments that have been rendered with the selected shader in the current frame, up to and including the currently selected draw call. For example:

Figure 4-6 Fragment count analysis


The Total cycles field is calculated using the average number of cycles for a given shader, multiplied by the number of fragments processed.

The Fragments and Total cycles columns are only available for those frames where the fragment count analysis has been requested. These columns indicate N/A (not available) for other frames.

Any frame with fragment count mode turned on has this icon in the Trace Outline view.

Note:

  • You cannot capture framebuffer content while also collecting fragment shader statistics.
  • A single draw call can take several seconds to complete. In addition, the target device screen only shows the final draw call in a frame, and the frame capture feature does not show any usable information.
Non-Confidential - RELPDF file icon PDF version101545__00_en
Copyright © 2020–2022, 2024 Arm Limited or its affiliates. All rights reserved.