Henri Verbeet : d3d8: Cleanup the pixelshader handling code a bit.