mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +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> (cherry picked from commit322aaa88c6) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40752>
This commit is contained in:
parent
4539139804
commit
0a5c858f28
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue