[PATCH 4/5] d3d9: Retrieve pixel shader constants from the primary stateblock.