Using the Shader Analyzer

The UI

SAShaderAnalyzerPage.png

DocumentBlank.png
New Button - Start a new source document, clear current contents

DocumentImport.png
Load File Button - Load an existing source file into the editor

Floppy.png
Save Button - Save editor code into current file

DocumentExport.png
Save As Button - Save current editor code using a different file name

Hammer_blue_24.png
Compile Button - Compile current source and generate statistics

Gear_blue_24.png
Compile Options Button - Bring up Shader Analyzer settings window

"Shader Format" combo box - Current shader format: "HLSL", "D3D Asm" or "GLSL". This can be used to override auto detected shader format.

"Target" combo box - Select a target shader for analysis

"Entry Point" combo box - Select a shader entry point for analysis

"Sync ASIC" check box - Synchronize all ASIC combo boxes selection across all text panels

"Text Panels(s)" combo box - Select number of active text panel(s)

"Code Type" combo box - Select Active code type, HLSL, GLSL, IL, ISA or Assembly. Total number of lines shown on the text label.

"ASIC" combo box - Show code associated with selected ASIC

Code display panels - These windows shows corresponding source code. Only the left most windows is user editable and supports drag and drop file opening.

Results - Results are displayed on the bottom section

Exclamation.png
Quick Tip - To start using Shader Analyzer, load a DX shader source file and click on the Compile button.

Quick Start

1 : Load or Paste Shader Code

2 : Specify Compilation Options

3 : Generate Results

4 : Using Results