Microsoft DirectX 8.1 (pixel shader versions 1.0, 1.1, 1.2, 1.3, 1.4) |
ps
Provides the method to specify the version of the shader code.
ps.mainVer.subVer
Registers
Argument | Description | Values |
---|---|---|
mainVer | main version number | 1 |
subVer | sub version number | 0, 1, 2, 3, 4 |
Remarks
This instruction must be the first instruction in a shader.
Example
// This example declares a version 1.0 shader. ps.1.0
// This example declares a version 1.4 shader. ps.1.4