summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/radeon_tile.c
diff options
context:
space:
mode:
authorMaciej Cencora <m.cencora@gmail.com>2010-03-07 12:09:43 +0100
committerMaciej Cencora <m.cencora@gmail.com>2010-03-07 12:21:30 +0100
commitd0ca5c3100dfe7ee634e3b455002e11e88822ea7 (patch)
treefa7ea8a53e1c285323eac02777e7cc1871f17290 /src/mesa/drivers/dri/radeon/radeon_tile.c
parent0d3835475fcb803a295dc738d90b83788bdc9472 (diff)
radeon: properly calculate rowstride for tiled images
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_tile.c')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_tile.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_tile.c b/src/mesa/drivers/dri/radeon/radeon_tile.c
index 935fa45e04..403da11010 100644
--- a/src/mesa/drivers/dri/radeon/radeon_tile.c
+++ b/src/mesa/drivers/dri/radeon/radeon_tile.c
@@ -214,7 +214,6 @@ void tile_image(const void * src, unsigned src_pitch,
{
assert(src_pitch >= width);
assert(dst_pitch >= width);
- assert(dst_pitch * _mesa_get_format_bytes(format) % MICRO_TILE_SIZE == 0);
radeon_print(RADEON_TEXTURE, RADEON_TRACE,
"Software tiling: src_pitch %d, dst_pitch %d, width %d, height %d, bpp %d\n",
@@ -439,7 +438,6 @@ void untile_image(const void * src, unsigned src_pitch,
{
assert(src_pitch >= width);
assert(dst_pitch >= width);
- assert(src_pitch * _mesa_get_format_bytes(format) % MICRO_TILE_SIZE == 0);
radeon_print(RADEON_TEXTURE, RADEON_TRACE,
"Software untiling: src_pitch %d, dst_pitch %d, width %d, height %d, bpp %d\n",