Microsoft DirectX 8.1 (vertex shader versions 1.0, 1.1)

Vertex Shader Reference

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.

Architecture

The Vertex Shader Block Diagram illustrates the relationship between shader registers and the vertex shader arithmetic logic unit (ALU).

Instructions

Instructions contains a list of the available instructions.

Registers

Registers lists the different types of registers used by the shader ALU.

Modifiers

Modifiers describes how to change the functionality of an instruction or the contents that are read from or written to a register.