Microsoft DirectX 8.0 (C++)

vs

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

vs.mainVer.subVer

Registers

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

Remarks

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

vs.1.0  ; Vertex shader version 1.0.

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