Microsoft DirectX 9.0

Vertex Shader Differences

These are the differences between the vertex shader versions.

VersionMaximum number of instructions
2_0 Extended256. The number of instructions that run can be much higher because of looping.
3_0512 minimum, and up to the number of slots in the D3DCAPS9.MaxVertexShader30InstructionSlots. See D3DCAPS9.

Version 3_0

New features:

Version 2_0 Extended

New features (with a cap set):

Version 2_0

New instructions:

New registers - constant float, constant integer, constant Boolean, loop counter

Version 1_x

New instructions:

© 2002 Microsoft Corporation. All rights reserved.