v3d: Set up the right stride for raster TFU.

I didn't have any raster images in the generatemipmap path, so the
pixels-vs-bytes mixup didn't matter here.
This commit is contained in:
Eric Anholt 2018-12-13 15:46:51 -08:00
parent e731d53716
commit 485df2574e

View file

@ -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: