View Pixel Data with Pixel History

This tutorial displays each event that causes a change in pixel data. Using the pixel history feature, you can track pixel data changes, see pipeline state changes, and view the corresponding shader code. The tutorial is divided into the following steps:

Setup

To set up this experiment, choose the StateManager sample as the target program and select the single-frame-capture option for data collection.

Step 1 - Launch Pixel History

Select a pixel in the details view in the render tab

Figure 1.  Rendered View of a Single-Frame Capture

Right click on the pixel, and select Debug This Pixel from the contextual menu.

The pixel history window by clicking on the contextual menu in the render tab in the details view.

Figure 2.  Contextual Menu for Opening Pixel History

Here is an example of the pixel history that is displayed.

Figure 3.  Pixel History

Step 2 - View a Pixel Shader

To see the pixel shader that computed the pixel data for an event, click on the pixel shader link within an event.

Figure 4.  Pixel Shader Code

Step 3 - View a Vertex Shader

To see the vertex shader that computed the vertex data for an event, click on the vertex shader link within an event.

Figure 5.  Vertex Shader Code