mesa/src/intel
Yevhenii Kolesnikov ec910d2e24 intel: fix leaking memory on shader creation
ralloc_adopt takes care of all the shader's children, but shader itsel ends up
orphaned and never gets free'd.

Fixes: ef5bce9253 ("intel: Drop the last uses of a mem_ctx in nir_builder_init_simple_shader().")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4951

Signed-off-by: Yevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11651>
(cherry picked from commit 974c58b317)
2021-07-13 09:58:56 +01:00
..
blorp intel: fix leaking memory on shader creation 2021-07-13 09:58:56 +01:00
common intel/mi_builder: fix resolve call 2021-05-18 23:02:26 +02:00
compiler intel: fix leaking memory on shader creation 2021-07-13 09:58:56 +01:00
dev intel/gfx12+: Add Wa_14013840143 2021-05-31 22:48:18 +02:00
genxml intel: Rename GENx keyword to GFXx 2021-04-02 18:33:07 +00:00
isl Convert most remaining free-form fall-through comments to FALLTHROUGH 2021-07-13 00:30:11 +01:00
nullhw-layer intel/nullhw: fix build 2021-03-26 20:12:40 +00:00
perf Convert most remaining free-form fall-through comments to FALLTHROUGH 2021-07-13 00:30:11 +01:00
tools glsl: build without bison 2021-04-13 19:12:48 +00:00
vulkan Convert most remaining free-form fall-through comments to FALLTHROUGH 2021-07-13 00:30:11 +01:00
Android.blorp.mk
Android.common.mk intel: split driver/device UUID generators 2020-10-07 11:11:23 +03:00
Android.compiler.mk android: fix build issues with brw_nir_trig_workarounds.c 2017-10-04 07:39:05 +03:00
Android.dev.mk intel: add identifier for debug purposes 2020-05-20 15:58:22 +00:00
Android.genxml.mk intel/genxml: Build gen 12.5 2020-12-01 19:06:22 +00:00
Android.isl.mk intel: Rename genx keyword to gfxx in build files 2021-04-02 18:33:07 +00:00
Android.mk i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Android.perf.mk i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Android.vulkan.mk intel: Rename genx keyword to gfxx in source files 2021-04-02 18:33:07 +00:00
Makefile.perf.am i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Makefile.sources android: anv: Remove anv_intel.c from Makefile.sources 2021-04-10 00:44:25 +02:00
meson.build intel: Add null hw layer 2021-03-25 19:10:03 +00:00