?/TD>
Microsoft DirectX 9.0

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 slotsSetupArithmeticMacro-opsNew
addAdd two vectors1xx
dcl_usageDeclare input vertex registers. See Registers - vs_1_10xx
defDefine constants0xx
dp3Three-component dot product1xx
dp4Three-component dot product1xx
dstDistance1xx
expFull precision 2x10xx
exppPartial precision 2x1xx
frcFractional component3xx
litCalculate lighting1xx
logFull precision log2(x)10xx
logpPartial precision log2(x)1xx
m3x23x2 matrix multiply2xx
m3x33x3 matrix multiply3xx
m3x43x4 matrix multiply4xx
m4x34x3 matrix multiply3xx
m4x44x4 matrix multiply4xx
madMultiply and add1xx
maxMaximum1xx
minMinimum1xx
movMove1xx
mulMultiply1xx
nopNo operation0xx
rcpReciprocal1xx
rsqReciprocal square root1xx
sgeGreater than or equal compare1xx
sltLess than compare1xx
subSubtract1xx
vsVersion0xx


© 2002 Microsoft Corporation. All rights reserved.