[PATCH 3/6] d3d8: Retrieve the pixel shader from the primary stateblock.