Also this MapWrite doesn't zero out memory yet.
Previously we would modify the GL state as soon as we saw SetIndex/VertexBuffers. This GL state is owned by the VAOs in the InputState and was disappearing on a Pipeline change. Fix this by applying the index / vertex buffers lazily.