diff --git a/.pick_status.json b/.pick_status.json index a64254ac09e..2a1c4b1f126 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -5884,7 +5884,7 @@ "description": "pan/lib: do not try to use stencil-aspect of color attachment", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "7a763bb0a3b1cb48dce03a62fff2fe9eac3f0eaf", "notes": null diff --git a/src/panfrost/lib/pan_desc.c b/src/panfrost/lib/pan_desc.c index 9e3532849bc..09daca78810 100644 --- a/src/panfrost/lib/pan_desc.c +++ b/src/panfrost/lib/pan_desc.c @@ -787,7 +787,7 @@ GENX(pan_emit_afrc_color_attachment)(const struct pan_fb_info *fb, pan_afrc_get_format_info(image->props.format); uint64_t base, row_stride, surf_stride; - get_tiled_or_linear_att_mem_props(pan_image_view_get_s_plane(iview), + get_tiled_or_linear_att_mem_props(pref, iview->first_level, layer_or_z_slice, &base, &row_stride, &surf_stride);