mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
pan/lib: do not try to use stencil-aspect of color attachment
We can't use the stencil-aspect of a color-attachment. That's going to
fail, so let's use the color-aspect instead. We already have it around
anyway.
Fixes: 7a763bb0a3 ("pan/genxml: Rework the RT/ZS emission logic")
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40489>
This commit is contained in:
parent
15e0ac0731
commit
322aaa88c6
1 changed files with 1 additions and 1 deletions
|
|
@ -885,7 +885,7 @@ GENX(pan_emit_afrc_color_attachment)(const struct pan_attachment_info *att,
|
|||
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, att->layer_or_z_slice,
|
||||
&base, &row_stride, &surf_stride);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue