Shader Tab

A shader tab displays vertex shader or pixel shader code. By default, the compiled assembly code is shown.

Shader code is color coded: instructions are blue, registers are black and literals are green.

Create a Shader Tab

There are two ways to create a shader tab.

Viewing HLSL or Assembly Code

Click the src button to view HLSL code; click the asm button to view the corresponding assembly code.

If source code is not available, the source code button on the toolbar will be grayed out. To make the source code available, compile the shader with the debug flag specified.

See Also

Details View