[DirectX 8.1 C/C++ Programmer's Reference] Order of Operations (100%)
DirectX 8.1 (C++) > DirectX Graphics > Reference > Pixel Shader Reference > Architecture