Skip to content

mesa/main: backport EXT_multisampled_render_to_texture fix to stable

Italo Nicola requested to merge italove/mesa:ms_rtt_backport_23_1 into staging/23.1

For EXT_multisampled_render_to_texture, we store the number of samples in Attachment->NumSamples instead of Renderbuffer->NumSamples. This meant that the previous code ignored that the framebuffer was multisampled. Because of this, pipe_rasterizer_state::multisample is set incorrectly, leading to visual artifacts on drivers that support MS-RTT extension, such as panfrost.

I forgot to add the "Cc: mesa-stable" tag on the patch, so this MR is to backport it to stable.

Merge request reports