[PATCH 3/5] d3d9: Retrieve vertex shader constants from the primary stateblock.