Microsoft DirectX 8.0 (C++)

ps

Provides a method to specify the type and version of the shader code.

ps.mainVer.subVer

Registers

mainVer
Main version number of the pixel shader.
subVer
Sub version number of the pixel shader.

Remarks

The following example illustrates how the ps instruction might be used.

ps.1.0  ; Pixel shader version 1.0.

This instruction is required to be at the beginning of all pixel shaders.