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