How much of the genetic differences between humans and chimpanzees are due to genetic drift?
The easiest way to track whether a particular protein-coding gene has diverged between two species because of drift or actively maintained selection is to look at the ratio of synonymous to nonsynonymous mutations within that gene. A synonymous mutation is one that doesn't change the identity of the amino acid within that protein; a nonsynonymous mutation is one that does. Synonymous mutations are neutral by definition; their presence gives us an idea of how much time has diverged and how frequently mutations in that protein coding region change over time. 

A dN/dS (Nonsynonymous mutation to Synonymous mutation) ratio of 1 suggests that the primary driver of change between species is purely neutral change. That usually means that it doesn't matter what is going on with that protein and is a little unusual--I would primarily expect to see something like that in a gene that is on its way to becoming a pseudogene. 

A ratio of less than one means that synonymous mutations are much more likely to persist in that region than nonsynonymous ones. This is usually a sign that purifying selection is happening--for whatever reason, it's important to the function of both species that those proteins stay relatively similar. 

A ratio of more than 1 means that there is diverging or directional selection happening, and that that protein type is changing between the two species because selection is actively modifying one or both proteins. 

Here is a paper specifically analyzing whole human and chimpanzee genomes using this metric.