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