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