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