mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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:
parent
e731d53716
commit
485df2574e
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue