30.04.2014 Views

Introduction to the DirectX 9 Shader Models - Nvidia

Introduction to the DirectX 9 Shader Models - Nvidia

Introduction to the DirectX 9 Shader Models - Nvidia

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.0 Pixel <strong>Shader</strong> Instruction Set<br />

• ALU Instructions<br />

–add, mov, mul, mad, dp2add, dp3, dp4,<br />

frc, rcp, rsq, exp, log and cmp<br />

• ALU Macros<br />

–MIN, MAX, LRP, POW, CRS, NRM, ABS,<br />

SINCOS, M4X4, M4X3, M3X3 and M3X2<br />

• Texture Instructions<br />

–texld, texldp, texldb and texkill

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!