llvmpipe: always allocate whole miptrees not individual levels
authorRoland Scheidegger <sroland@vmware.com>
Mon, 12 Nov 2012 19:08:19 +0000 (20:08 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Mon, 12 Nov 2012 20:02:59 +0000 (21:02 +0100)
commit8257bb963f0b21c0c35da479707b5cacbc1c2824
tree4fc8a9c0c7fd8f0f6ba54509c010b25dae168520
parentdf3cecab7d04f73eb3b010a511a048c3b87694a5
llvmpipe: always allocate whole miptrees not individual levels

This is preparation work for using mip level offsets + base_ptr for texture
sampling instead of per-mip pointers.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/llvmpipe/lp_texture.h