Microsoft DirectX 8.0 (C++)

Version and Constant Definition Instructions

The Direct3DX vertex shader assembler provides instructions to identify the type and version of the shader and to define constants to use with the vertex shader.

def Define Constants
vs Version and Type

A version instruction is required to be at the beginning of each shader.

Note that constant definition instructions must occur after version instructions and before all other instructions.