mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
asahi: fix layout transitions with arrays
don't minify the layer count for non-3D! Affects: dEQP-GLES31.functional.copy_image.*array Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26614>
This commit is contained in:
parent
25d185a501
commit
a3ae9e1a59
1 changed files with 1 additions and 1 deletions
|
|
@ -1192,7 +1192,7 @@ transition_resource(struct pipe_context *pctx, struct agx_resource *rsrc,
|
|||
|
||||
u_box_3d(0, 0, 0, u_minify(rsrc->layout.width_px, level),
|
||||
u_minify(rsrc->layout.height_px, level),
|
||||
u_minify(rsrc->layout.depth_px, level), &blit.dst.box);
|
||||
util_num_layers(&rsrc->base, level), &blit.dst.box);
|
||||
blit.src.box = blit.dst.box;
|
||||
|
||||
blit.dst.resource = &new_res->base;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue