mesa/src
Zan Dobersek 3ee81ffe14 tu: fix memory leaks in tu_shader
When tu_shader object is destroyed through vk_pipeline_cache, the relevant
destroy callback should relay to the general tu_shader_destroy function
that will also clean up owned resources.

During shader creation, the ir3_shader object should be destroyed once the
shader variants are retrieved. Since those variants are owned by tu_shader
they should be freed up in tu_shader_destroy.

Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
Fixes: a03525d8db ("tu: Split program draw state into per-shader states")
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27847>
2024-03-30 08:56:03 +01:00
..
amd radv/ci: dEQP-VK.spirv_assembly.type.vec4.i8.mod_geom Fail -> Crash on tahiti 2024-03-29 16:36:10 +00:00
android_stub
asahi asahi: switch to VS/FS prolog/epilog system 2024-03-30 00:26:20 +00:00
broadcom rpi/ci: another batch of flakes 2024-03-29 22:22:21 +00:00
c11
compiler nir: add intrinsics for non-monolithic agx shaders 2024-03-30 00:26:19 +00:00
drm-shim drm-shim: Add io region handling in mmap 2024-03-19 10:22:34 +00:00
egl egl/wayland/sw: don't invert y wl_surface_damage_buffer 2024-03-24 17:27:21 +00:00
etnaviv ci/etnaviv: Remove duplicates 2024-03-27 13:12:16 +00:00
freedreno tu: fix memory leaks in tu_shader 2024-03-30 08:56:03 +01:00
gallium asahi: switch to VS/FS prolog/epilog system 2024-03-30 00:26:20 +00:00
gbm gbm: Remove hardcoded color-channel data 2024-02-27 10:51:03 +00:00
getopt
glx treewide: Replace usage of macro DEBUG with MESA_DEBUG when possible 2024-03-22 18:22:34 +00:00
gtest
imagination pvr: Add pvr_ prefix for vk_format_* functions in pvr_formats.h 2024-03-28 04:11:52 +00:00
imgui
intel intel/brw: Add a src array for the common case in fs_inst 2024-03-29 22:44:01 +00:00
loader loader/wayland: Add named queue fallback 2024-02-28 11:01:31 +00:00
mapi treewide: Replace usage of macro DEBUG with MESA_DEBUG when possible 2024-03-22 18:22:34 +00:00
mesa treewide: Replace usage of macro DEBUG with MESA_DEBUG when possible 2024-03-22 18:22:34 +00:00
microsoft microsoft/clc: Install clon12compiler 2024-03-26 20:12:41 +00:00
nouveau nil: Drop unneeded types from formats 2024-03-30 00:03:46 +00:00
panfrost panvk: Make panvk_pipeline_layout per-gen 2024-03-27 09:47:34 +00:00
tool pps: Config tweaks to avoid loosing traces 2024-03-25 19:49:50 +00:00
util util/vma: Add function to get max continuous free size 2024-03-28 08:50:38 +00:00
virtio venus: add a more relaxed polling strategy 2024-03-26 00:37:24 +00:00
vulkan wsi/x11: Return OUT_OF_DATE on sw resize. 2024-03-28 14:22:19 +00:00
.clang-format agx: add Braun-Hack spiller pass 2024-03-30 00:26:18 +00:00
meson.build loader/wayland: Add fallback wl_display_dispatch_queue_timeout 2024-02-27 13:10:13 +00:00