Pixel Shaders

All drivers that support the DirectX 8.0 DDI may support the new DP2 token D3DDP2OP_SETPIXELSHADER if programmable pixel shaders are supported in hardware.

D3DDP2OP_SETPIXELSHADER can be used to notify the driver of the handle of the current programmable pixel shader to use. A pixel shader handle refers to a programmable pixel shader handle previously created by means of the D3DDP2OP_CREATEPIXELSHADER DP2 token.