d3d: Fix some issues with the vertex cache.
d3d: Fix vertex cache alpha flag tracking.
d3d: Use minihashing in the vertex cache.
d3d: Share the bounding box code.
Merge pull request #6910 from unknownbrackets/d3d9

d3d: Fix some vertex cache glitches, enable bounding box test