fix miptree layout (i915) for small compressed mipmaps
authorRoland Scheidegger <sroland@tungstengraphics.com>
Sat, 19 May 2007 02:38:55 +0000 (04:38 +0200)
committerRoland Scheidegger <sroland@tungstengraphics.com>
Sat, 19 May 2007 02:38:55 +0000 (04:38 +0200)
commiteb6418b8952f335b6cf58232b5f282fc3e325c7a
tree8f98d5acb28839f5e552339ca7e9c977ba01b0cc
parent25551bdfad8541337a4e59e7e3764fa9b876cb19
fix miptree layout (i915) for small compressed mipmaps

This seems to work now. Also fix i945 set_level_info, need to match i915
behaviour for storing mip height, as it's assumed to be the mip width
(in texels) elsewhere and the division by 4 is done later (untested).
src/mesa/drivers/dri/i915tex/i915_tex_layout.c
src/mesa/drivers/dri/intel/intel_tex_layout.c