intel_finalize_mipmap_tree: Add more conditions for rebuilding mipmap trees.
authorMichel Dänzer <michel@tungstengraphics.com>
Thu, 14 Dec 2006 09:56:10 +0000 (10:56 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Thu, 14 Dec 2006 10:04:10 +0000 (11:04 +0100)
commitcc1afed6718882d13ab66ba0bbeaab6334e0629c
tree68604b366cb3338ee9233cedef18b9724da00485
parent5f8a3e586f21219d02912635a93ce312bcf5987c
intel_finalize_mipmap_tree: Add more conditions for rebuilding mipmap trees.

These are taken from the i965 driver and fix corruption of some mipmap levels
under some circumsances with 945 chipsets at least.

Also flush the batchbuffer after copying data between trees, or some apps fail
an assertion elsewhere.
src/mesa/drivers/dri/i915tex/intel_tex_validate.c