mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 16:50:13 +01:00
broadcom/vc5: Fix image_h value for CPU-side tiling on miplevels > 1.
Fixes overflow that caused failure in dEQP-GLES3.functional.texture.filtering.2d.sizes.128x128_linear.
This commit is contained in:
parent
e60e3a56a2
commit
44237b3f85
1 changed files with 2 additions and 1 deletions
|
|
@ -133,7 +133,8 @@ vc5_resource_transfer_unmap(struct pipe_context *pctx,
|
|||
slice->stride,
|
||||
trans->map, ptrans->stride,
|
||||
slice->tiling, rsc->cpp,
|
||||
rsc->base.height0,
|
||||
u_minify(rsc->base.height0,
|
||||
ptrans->level),
|
||||
&ptrans->box);
|
||||
}
|
||||
free(trans->map);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue