summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/v3d/v3d_blit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/v3d/v3d_blit.c')
-rw-r--r--src/gallium/drivers/v3d/v3d_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/v3d/v3d_blit.c b/src/gallium/drivers/v3d/v3d_blit.c
index 25f4c61c62d..ae0812da8e7 100644
--- a/src/gallium/drivers/v3d/v3d_blit.c
+++ b/src/gallium/drivers/v3d/v3d_blit.c
@@ -404,7 +404,7 @@ v3d_generate_mipmap(struct pipe_context *pctx,
(2 * v3d_utile_height(rsc->cpp)));
break;
case VC5_TILING_RASTER:
- tfu.iis |= base_slice->stride;
+ tfu.iis |= base_slice->stride / rsc->cpp;
break;
case VC5_TILING_LINEARTILE:
case VC5_TILING_UBLINEAR_1_COLUMN: