GPU ShaderAnalyzer is a tool for analyzing the performance of pixel, vertex, geometry, hull, domain and compute shaders for ATI Radeon™ graphics cards. It gives you accurate performance estimates for your shaders and even allows you to view disassembly of the generated hardware shader, all without having to run the application on actual hardware. GPU ShaderAnalyzer can be used as a GUI tool for interactive tuning of your shaders or in command line mode to generate detailed reports. It supports Direct3D (D3D9.0 – D3D11) and OpenGL (GLSL 1.50, arb_fp and arb_vp) shaders. To analyze stream kernels (OpenCL, Brook+ and IL), please download Stream KernelAnalyzer.
Enter your shader into the Source Code window. You can load it via the File menu, drag and drop it onto the window or type it in from scratch if you prefer.
If you load your shader via the File menu or drag and drop, GPU ShaderAnalyzer will attempt to automatically detect the shader type. This functionality can be changed in the Options.
Ensure the Source type is set correctly and, if required, the HLSL or GLSL Target is also set correctly for your shader.
If your shader is HLSL then you may need to set the Function correctly for your shader.
Click the Compile button. Auto compile can be enabled in the Options
If your shader is compiled successfully you should see the disassembly of it in the Object Code window.
The Compiler Statistics window and D3D Assembly Statistics window will list statistics about your program.
If you wish to see disassembly of the hardware shader as generated by ATI’s Shader Compiler, you may select the ATI Radeon™ graphics card you are interested in from the Format list above the Object Code.