Instructions - vs_1_1
Microsoft DirectX 9.0 SDK Update (October 2004)

Instructions - vs_1_1


This section contains reference information for the vertex shader version 1_1 instructions.

There are several types of vertex shader instructions, as shown in the table. Columns to the right mean the following:

Instruction Set

NameDescriptionInstruction slotsSetupArithmeticNew
addAdd two vectors1xx
dcl_usage input register - vsDeclare input vertex registers (see Registers - vs_1_1)0xx
defDefine constants0xx
dp3Three-component dot product1xx
dp4Four-component dot product1xx
dstCalculate the distance vector1xx
expFull precision 2x10xx
exppPartial precision 2x1xx
frcFractional component3xx
litPartial lighting calculation1xx
logFull precision log2(x)10xx
logpPartial precision log2(x)1xx
m3x23x2 multiply2xx
m3x33x3 multiply3xx
m3x43x4 multiply4xx
m4x34x3 multiply3xx
m4x44x4 multiply4xx
madMultiply and add1xx
maxMaximum1xx
minMinimum1xx
movMove1xx
mulMultiply1xx
nopNo operation1xx
rcpReciprocal1xx
rsqReciprocal square root1xx
sgeGreater than or equal compare1xx
sltLess than compare1xx
subSubtract1xx
vsVersion0xx


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.