commit a417ee57c35e28d20b6af3e14e79d358685baad0 Author: Isaac Dunham Date: Thu Dec 1 18:06:51 2011 -0800 Revert texture hack to fix RS780M support diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 2d041b0..4c0a4ad 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -197,15 +197,6 @@ static unsigned r600_texture_get_nblocksy(struct pipe_screen *screen, tile_height = r600_get_height_alignment(screen, rtex->array_mode[level]); - /* XXX Hack around an alignment issue. Less tests fail with this. - * - * The thing is depth-stencil buffers should be tiled, i.e. - * the alignment should be >=8. If I make them tiled, stencil starts - * working because it no longer overlaps with the depth buffer - * in memory, but texturing like drawpix-stencil breaks. */ - if (util_format_is_depth_or_stencil(rtex->real_format) && tile_height < 8) - tile_height = 8; - height = align(height, tile_height); return height; }