radeon: fix bug with wrong stride being used for rectangluar textures.
authorDave Airlie <airlied@redhat.com>
Thu, 10 Nov 2011 13:46:25 +0000 (13:46 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 11 Nov 2011 15:04:52 +0000 (15:04 +0000)
commitbeb3e81b86698359e037d49f35feba3ca53626b2
tree6a2be2d8c01197d5bbbaac6bb8fde65bcab06326
parentba3b9fad60d156a4e3e6311b92c652b36d8969d2
radeon: fix bug with wrong stride being used for rectangluar textures.

This broke the meta bitmap code when it was enabled.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c
src/mesa/drivers/dri/radeon/radeon_mipmap_tree.h
src/mesa/drivers/dri/radeon/radeon_pixel_read.c
src/mesa/drivers/dri/radeon/radeon_texture.c