mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
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:
parent
04ded2041c
commit
5173ea17bb
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue