mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 15:20:17 +01:00
v3d: Fix stride of 1D_ARRAY mappings.
All of our other texture arrays will be tiled, but 1D is an array of raster mappings and we had the wrong value plugged in here. Fixes piglit getteximage-targets 1D_ARRAY
This commit is contained in:
parent
97ddeed949
commit
e48c615292
1 changed files with 1 additions and 1 deletions
|
|
@ -281,7 +281,7 @@ v3d_resource_transfer_map(struct pipe_context *pctx,
|
|||
return trans->map;
|
||||
} else {
|
||||
ptrans->stride = slice->stride;
|
||||
ptrans->layer_stride = ptrans->stride;
|
||||
ptrans->layer_stride = rsc->cube_map_stride;
|
||||
|
||||
return buf + slice->offset +
|
||||
ptrans->box.y * ptrans->stride +
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue