intel: Fix miptree height alignment for compressed NPOT textures.
authorEric Anholt <eric@anholt.net>
Fri, 10 Jun 2011 00:04:12 +0000 (17:04 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 14 Jun 2011 18:17:39 +0000 (11:17 -0700)
commitb9fbb9df22ab8ef869730c8b5c1eb79f4f48038e
treea95a8ba1cb4d89cf01d7a1f33ef5f246fd21235d
parent56965aa007c2c6029204d617c0edcf142603e98d
intel: Fix miptree height alignment for compressed NPOT textures.

This is effectively just "round up when dividing by 4" compared to the
previous code.  Fixes the broken stripe at the top of
fbo-generatemipmap-formats GL_EXT_texture_compression_rgtc.
src/mesa/drivers/dri/intel/intel_tex_layout.c