[DirectX 6 Programmer's Reference] Converting a Bit Depth into a Flag (21.8574929971989%)
DirectX Foundation > Direct3D Immediate Mode > Direct3D Immediate Mode Essentials > Direct3D Devices > Execute Buffers > Direct3D Execute-Buffer Tutorial > Converting Bit Depths