[PATCH 4/5] d3d8: Retrieve the vertex shader from the primary stateblock.