mesa: copy NumSamples in reuse_framebuffer_texture_attachment

this otherwise breaks msrtt

cc: mesa-stable

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37766>
(cherry picked from commit 950459d95f)
This commit is contained in:
Mike Blumenkrantz 2025-10-08 09:15:23 -04:00 committed by Eric Engestrom
parent 04ded2041c
commit 5173ea17bb
2 changed files with 2 additions and 1 deletions

View file

@ -3754,7 +3754,7 @@
"description": "mesa: copy NumSamples in reuse_framebuffer_texture_attachment",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -3704,6 +3704,7 @@ reuse_framebuffer_texture_attachment(struct gl_framebuffer *fb,
dst_att->Zoffset = src_att->Zoffset;
dst_att->Layered = src_att->Layered;
dst_att->NumViews = src_att->NumViews;
dst_att->NumSamples = src_att->NumSamples;
}