[PATCH v3 7/8] d3d8: Retrieve the vertex shader from the primary stateblock.