The following image shows a typical DX11 application in GPU PerfStudio with the Pixel Shader layout displayed in the content pane.
Clicking on other stages in the control will open layouts specific to those stages. It is possible for the user to edit the default layouts for each stage and create their own layouts in the user layout slots.
In edit mode the DX11 command tree can be seen in the screen shot below. Clicking on the nodes in the tree will open a data window for that node - the user can then dock the window within the content pane to create custom layouts. Note, it is possible to mix nodes from different stages in a layout.
The DX11 command tree supports the following data:
- The Resources viewer is a thumbnail viewer for images in the various stages of the pipeline. The user can customize the default view to contain image data of their choice.
- Index And Vertex Buffer Info - Displays the Index Buffer and Vertex buffer for the current draw call.
- Index Buffer Info - Displays information about the Index Buffer along with the first and last 6 elements in the buffer.
- Vertex Buffer Info - Displays information about the Vertex Buffer along with the first and last 6 elements in the buffer.
- Input Layout - Shows a description of the Input Layout including semantic names, strides, lengths, and types.
- Topology - Shows the primitive type for the current geometry.
- Image - The input geometry before passing through the vertex shader, rendered in wireframe. Opens in the Image Viewer .
- Code - Displays the vertex shader code and constant buffers in the Code Window .
- Samplers - Displays information about the samplers bound to this shader.
- All Textures - Shows all the textures bound to (but not necessarily used by) the vertex shader.
- Active Textures - Shows all the textures used by the vertex shader.
- Shader Linkage - Displays the current class linkages in the live shader.
New to DX11, the Hull Shader allows us to set the tessellation factors and define the patch constant function (see DirectX Documentation for details).
- Code - Displays the hull shader code and constant buffers in the Code Window .
- Samplers - Displays information about the samplers bound to this shader.
- All Textures - Shows all the textures bound to (but not necessarily used by) the hull shader.
- Active Textures - Shows all the textures used by the hull shader.
- Shader Linkage - Displays the current class linkages in the live shader.
New to DX11, the Domain Shader calculates the vertex position of the sub-divided point in the output patch (see DirectX Documentation for details).
- Code - Displays the domain shader code and constant buffers in the Code Window .
- Samplers - Displays information about the samplers bound to this shader.
- All Textures - Shows all the textures bound to (but not necessarily used by) the domain shader.
- Active Textures - Shows all the textures used by the domain shader.
- Shader Linkage - Displays the current class linkages in the live shader.
- Code - Displays the geometry shader code and constant buffers in the Code Window .
- Samplers - Displays information about the samplers bound to this shader.
- All Textures - Shows all the textures bound to (but not necessarily used by) the geometry shader.
- Active Textures - Shows all the textures used by the geometry shader.
- Shader Linkage - Displays the current class linkages in the live shader.
- Code - Displays the pixel shader code and constant buffers in the Code Window .
- Samplers - Displays information about the samplers bound to this shader.
- All Textures - Shows all the textures bound to (but not necessarily used by) the pixel shader.
- Active Textures - Shows all the textures used by the pixel shader.
- Shader Linkage - Displays the current class linkages in the live shader.
- Render States - Displays the current values of all the render states.
- Render Targets - Shows all the currently bound render targets.
- All UAVs - Shows details of all the Unordered Access Views.
- Stencil Buffer - Shows the currently bound stencil buffer. Opens in the Image Viewer .
- Depth Buffer - Shows the currently bound depth buffer. Opens in the Image Viewer .
- Displays the current back buffer of the swapchain. Opens in the Image Viewer .
New to DX11, the Compute Shader can be debugged using the
Shader Debugger .
- Code - Displays the compute shader code and constant buffers in the Code Window .
- Samplers - Displays information about the samplers bound to this shader.
- All Textures - Shows all the textures bound to (but not necessarily used by) the compute shader.
- Active Textures - Shows all the textures used by the compute shader.
- Shader Linkage - Displays the current class linkages in the live shader.
- All UAVs - Shows details of all the Unordered Access Views used by the compute shader.