radeon: pass internal format into the miptree.
authorDave Airlie <airlied@redhat.com>
Thu, 3 Sep 2009 02:01:52 +0000 (12:01 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 3 Sep 2009 02:02:54 +0000 (12:02 +1000)
commit5f7c532b1e5414f65e126948b35cf9e1ef10c3a1
treea4e2b975812be6111ff4f286f0ea087c9790b052
parente5b93e116180d7ae360af1fd3e7b05f14ebce656
radeon: pass internal format into the miptree.

We need to figure out if the compression format changes.

without this texcmp segfaults if you change format
enough times.
src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c
src/mesa/drivers/dri/radeon/radeon_mipmap_tree.h
src/mesa/drivers/dri/radeon/radeon_texture.c