4.2 Analyzing the shader map

Graphics Analyzer can give each shader program that a scene uses a different solid color.

During a live capture, click to toggle the capture mode. While this capture mode is enabled, when Graphics Analyzer captures a frame it tracks which shader each object in the scene uses. It then maps each shader to a solid color. This mapping allows detection of any bugs that incorrect shader assignment might cause. An example of this feature is displayed here:

Figure 4-4 Original image


Figure 4-5 Image with shader map feature turned on


There are 100 unique colors that Graphics Analyzer can assign to shader programs, after which programs have duplicate colors. You can identify which program corresponds to each color by putting the cursor on a framebuffer image that was captured in shader map mode. The active shader is identified above the image.

Any frame with shader map mode turned on has the icon in the Trace Outline view.

Non-Confidential - RELPDF file icon PDF version101545__00_en
Copyright © 2020–2022, 2024 Arm Limited or its affiliates. All rights reserved.