pub enum D3DSHADER_INSTRUCTION_OPCODE_TYPE {
NOP,
MOV,
ADD,
SUB,
MAD,
MUL,
RCP,
RSQ,
DP3,
DP4,
MIN,
MAX,
SLT,
SGE,
EXP,
LOG,
LIT,
DST,
LRP,
FRC,
M4x4,
M4x3,
M3x4,
M3x3,
M3x2,
CALL,
CALLNZ,
LOOP,
RET,
ENDLOOP,
LABEL,
DCL,
POW,
CRS,
SGN,
ABS,
NRM,
SINCOS,
REP,
ENDREP,
IF,
IFC,
ELSE,
ENDIF,
BREAK,
BREAKC,
MOVA,
DEFB,
DEFI,
TEXCOORD,
TEXKILL,
TEX,
TEXBEM,
TEXBEML,
TEXREG2AR,
TEXREG2GB,
TEXM3x2PAD,
TEXM3x2TEX,
TEXM3x3PAD,
TEXM3x3TEX,
RESERVED0,
TEXM3x3SPEC,
TEXM3x3VSPEC,
EXPP,
LOGP,
CND,
DEF,
TEXREG2RGB,
TEXDP3TEX,
TEXM3x2DEPTH,
TEXDP3,
TEXM3x3,
TEXDEPTH,
CMP,
BEM,
DP2ADD,
DSX,
DSY,
TEXLDD,
SETP,
TEXLDL,
BREAKP,
PHASE,
COMMENT,
END,
}
Variants
NOP | |
MOV | |
ADD | |
SUB | |
MAD | |
MUL | |
RCP | |
RSQ | |
DP3 | |
DP4 | |
MIN | |
MAX | |
SLT | |
SGE | |
EXP | |
LOG | |
LIT | |
DST | |
LRP | |
FRC | |
M4x4 | |
M4x3 | |
M3x4 | |
M3x3 | |
M3x2 | |
CALL | |
CALLNZ | |
LOOP | |
RET | |
ENDLOOP | |
LABEL | |
DCL | |
POW | |
CRS | |
SGN | |
ABS | |
NRM | |
SINCOS | |
REP | |
ENDREP | |
IF | |
IFC | |
ELSE | |
ENDIF | |
BREAK | |
BREAKC | |
MOVA | |
DEFB | |
DEFI | |
TEXCOORD | |
TEXKILL | |
TEX | |
TEXBEM | |
TEXBEML | |
TEXREG2AR | |
TEXREG2GB | |
TEXM3x2PAD | |
TEXM3x2TEX | |
TEXM3x3PAD | |
TEXM3x3TEX | |
RESERVED0 | |
TEXM3x3SPEC | |
TEXM3x3VSPEC | |
EXPP | |
LOGP | |
CND | |
DEF | |
TEXREG2RGB | |
TEXDP3TEX | |
TEXM3x2DEPTH | |
TEXDP3 | |
TEXM3x3 | |
TEXDEPTH | |
CMP | |
BEM | |
DP2ADD | |
DSX | |
DSY | |
TEXLDD | |
SETP | |
TEXLDL | |
BREAKP | |
PHASE | |
|
END | |
Trait Implementations
Derived Implementations