The beginning of some vertex cache related code