mesa/src
Timothy Arceri 4fdb2e99a8 util/u_idalloc: fix util_idalloc_sparse_alloc_range()
If the allocation didn't fit within the segment the loop incorrectly
freed ids of a range of different segments due to the loop redeclaring
i.

Fixes: d4085aaf56 ("util: add util_idalloc_sparse, solving the excessive virtual memory usage")

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33934>
(cherry picked from commit 25e008c639)
2025-03-15 09:49:02 +01:00
..
amd Revert "ac/nir: clamp vertex color outputs in the right place" 2025-03-15 09:49:01 +01:00
android_stub
asahi [25.0-only] hk: comment out dead variable 2025-02-04 20:47:26 +01:00
broadcom broadcom/simulator: use string copy instead of memcpy 2025-02-21 17:05:49 +01:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler nir/lower_helper_writes: fix stores after discard 2025-03-15 09:49:02 +01:00
drm-shim
egl egl/wayland: Pass the original wl_surface to kopper 2025-03-05 21:26:48 +01:00
etnaviv etnaviv: always clamp shadow sampler comparison reference value 2025-01-28 00:01:07 +00:00
freedreno ir3: fix false dependencies of rpt instructions 2025-03-15 09:49:01 +01:00
gallium zink: Check queue families when binding image resources 2025-03-15 09:49:02 +01:00
gbm gbm: fix get_back_bo() failure with gbm_surface and implicit modifiers 2025-02-15 00:03:01 +01:00
getopt
gfxstream gfxstream: mark unused variables as such 2025-02-06 10:18:23 +01:00
glx glapi: rename exported symbols so as not to conflict with old libglapi 2025-01-23 00:49:05 +00:00
gtest
imagination pvr: use vk_descriptor_type_is_dynamic 2024-12-19 15:12:58 +00:00
imgui
intel intel/common: Retry GEM_CONTEXT_CREATE when PXP have not finished initialization 2025-03-15 09:49:01 +01:00
loader loader/wayland: Fix missing timespec.h include 2025-02-10 11:35:25 +01:00
mapi mesa/main: wire up glapi bits for EXT_multi_draw_indirect 2025-02-21 17:07:26 +01:00
mesa mesa: avoid creating incomplete surfaces when multiview goes out of range 2025-03-05 21:26:48 +01:00
microsoft ci: fix the artifact name 2025-02-05 16:05:42 +01:00
nouveau nvk: Don't zero imported memory 2025-03-15 09:49:02 +01:00
panfrost pan/mdg: call nir_lower_is_helper_invocation 2025-03-15 09:49:02 +01:00
tool panvk: add u_trace perfetto support 2024-12-17 23:14:26 +00:00
util util/u_idalloc: fix util_idalloc_sparse_alloc_range() 2025-03-15 09:49:02 +01:00
virtio venus: fix a memory corruption in query records recycle 2025-03-15 09:49:01 +01:00
vulkan vulkan/runtime: ensure robustness state is fully initialized 2025-02-28 22:17:35 +01:00
x11 meson: require dri3 modifiers 2024-09-06 17:34:17 +00:00
.clang-format freedreno: move ForEachMacros into freedreno 2025-01-24 12:15:31 +00:00
meson.build dri: put shared-glapi into libgallium.*.so 2025-01-23 00:49:05 +00:00