This was caused by an uninitialized variable that was left unchanged when calling GPU_vertformat_clear.