[PATCH v2 1/6] d3d8: Retrieve pixel shader constants from the primary stateblock.