mesa/src
Mike Blumenkrantz e8ce53a33d zink: promote gpl libs freeing during shader destroy out of prog loop
now that zink_gfx_lib_cache::stages_present exists (and is correct),
this value can be used directly to effect cache eviction instead of depending
on the prog->stages_present value, which may not even be the same prog that
owns a given zink_gfx_lib_cache instance

this fixes the case where a shader used in multiple progs with differing shader
masks would never have all its gpl pipelines freed

fixes leaks with caselist:
KHR-Single-GL46.arrays_of_arrays_gl.InteractionUniformBuffers1
KHR-Single-GL46.subgroups.quad.framebuffer.subgroupquadbroadcast_3_float_vertex

Fixes: d786f52f1f ("zink: prevent crash when freeing")

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27358>
2024-02-15 22:35:01 -05:00
..
amd aco: use fmamk/ak instead of fma with inline constant for more VOPD 2024-02-15 12:38:55 +01:00
android_stub
asahi agx: add "is helper program?" key bit 2024-02-14 21:02:32 +00:00
broadcom broadcom/compiler: fix lane selection for subgroups in fragment shaders 2024-02-14 08:02:41 +01:00
c11
compiler intel/compiler: Rename brw_image_param to isl_image_param 2024-02-14 22:31:23 -08:00
drm-shim compiler,vulkan,drm-shim: Remove unused include directories from meson.build 2023-10-27 01:35:10 +00:00
egl egl: refactor to use DETECT_OS_ANDROID instead of ANDROID 2024-02-01 19:29:49 +00:00
etnaviv ci/etnaviv: update expectations 2024-02-12 01:25:24 +01:00
freedreno tu: Exclude more a7xx regs from stomping 2024-02-12 22:05:13 +00:00
gallium zink: promote gpl libs freeing during shader destroy out of prog loop 2024-02-15 22:35:01 -05:00
gbm gbm: delete some zink handling 2023-10-09 18:43:09 +00:00
getopt
glx glx: Handle IGNORE_GLX_SWAP_METHOD_OML regardless of GLX_USE_APPLEGL 2023-12-18 17:52:09 +00:00
gtest gtest: backport ansi color fix 2023-08-18 21:33:14 +00:00
imagination pvr: enable VK_EXT_headless_surface on all platforms except Windows 2024-02-06 20:32:39 +00:00
imgui
intel intel/tools: add shader compiler hash key to json devinfo format 2024-02-15 16:59:25 -08:00
loader tree-wide: use __normal_user() everywhere instead of writing the check manually 2024-01-30 12:45:54 +00:00
mapi glapi: move EXT_texture_storage to the right position 2024-02-07 08:48:20 +00:00
mesa mesa: fix off-by-one for newblock allocation in dlist_alloc 2024-02-14 18:11:49 +00:00
microsoft microsoft/compiler: Fix wave size control for SM6.8+ 2024-02-15 00:29:50 +00:00
nouveau nvk: Convert shader addresses to offsets in nvk_shader.c 2024-02-12 18:47:07 +00:00
panfrost pan/va: Add missing valhall_enums dep to valhall_disasm 2024-02-08 15:04:34 +01:00
tool perfetto/pps-producer: add optimized cpu/gpu timestamp correlation support 2023-11-09 13:22:48 +00:00
util anv: Override VendorID for Hitman 3 2024-02-13 19:02:24 +00:00
virtio vn: enable VK_EXT_headless_surface on all platforms except Windows 2024-02-06 20:32:38 +00:00
vulkan wsi/x11: Rewrite logic for how we consider minImageCount. 2024-02-10 11:47:22 +00:00
.clang-format nir: add _safe variants of nir_foreach_reg_load/store 2023-12-15 17:19:28 +00:00
meson.build virgl: Fix compilation on MSVC 2024-02-05 08:41:22 +00:00