Microsoft DirectX 8.1 (vertex shader versions 1.0, 1.1) |
A programmable vertex shader is made up of a set of instructions that operate on vertex data. A shader uses registers to transfer data in and out of the pixel shader processor. Modifiers can be applied to data to modify the results of the current instruction.
The Vertex Shader Block Diagram illustrates the relationship between shader registers and the vertex shader arithmetic logic unit (ALU).
Instructions contains a list of the available instructions.
Registers lists the different types of registers used by the shader ALU.
Modifiers describes how to change the functionality of an instruction or the contents that are read from or written to a register.