glsl/nir: Stop leaking varyings_info

Fixes: 34b3b92bbe ("nir/xfb: move varyings info out of nir_xfb_info")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16750>
(cherry picked from commit 36d8a2f1d7)
This commit is contained in:
Jason Ekstrand 2022-05-27 13:53:07 -05:00 committed by Dylan Baker
parent af16f82e15
commit 87a3240d57
2 changed files with 3 additions and 2 deletions

View file

@ -553,7 +553,7 @@
"description": "glsl/nir: Stop leaking varyings_info",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "34b3b92bbee1f68a9c121cd26e30e113c8cd39a8"
},
@ -886,7 +886,7 @@
"description": "zink: lower subgroup width to 1 for unsupported subgroup vote stages",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null
},

View file

@ -193,4 +193,5 @@ gl_nir_link_assign_xfb_resources(const struct gl_constants *consts,
linked_xfb->ActiveBuffers = buffers;
ralloc_free(xfb_info);
ralloc_free(varyings_info);
}