intel: Move S8 width/height alignment to miptree creation.
authorEric Anholt <eric@anholt.net>
Thu, 8 Dec 2011 00:37:26 +0000 (16:37 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 14 Dec 2011 21:18:38 +0000 (13:18 -0800)
commitf22068d5be7c829d3768154845ef3c5a2986fed4
tree6becb27f5b92c9400113d0efed60b9c3f0fcdba3
parent8967f750953ca94aa36e3a8ed703a61f1b434f64
intel: Move S8 width/height alignment to miptree creation.

We were doing it in the caller in the renderbuffer code, but it was
missed in the separate stencil creation for textures.  Apparently our
testing was using renderbuffers or pre-aligned sizes.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_fbo.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.h