mesa/src
Timothy Arceri 4a158b971c mesa: fix reuse of deleted sampler object
Deleting a sampler object will only cause it to be unbound from the
current context. To avoid reusing something that it still bound in
another context we need to check the DeletePending flag first.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Fixes: 842c9130 ("mesa: enable GL name reuse by default for all drivers except virgl")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34091>
(cherry picked from commit 9bb696588d)
2025-04-02 11:04:11 +02:00
..
amd aco: don't assume that demote doesn't cause an empty exec mask 2025-04-02 11:04:10 +02:00
android_stub
asahi [25.0-only] hk: comment out dead variable 2025-02-04 20:47:26 +01:00
broadcom v3dv: don't overwrite the primary fd if it's already set 2025-03-15 09:49:03 +01:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler nir/serialize: fix decoding of is_return and is_uniform 2025-03-15 09:49:05 +01:00
drm-shim drm-shim: stub synobj_timeline_wait and query ioctl 2024-07-16 11:17:59 +02:00
egl egl/surfaceless: Only choose drivers that expose the graphics capability 2025-04-02 11:04:10 +02:00
etnaviv etnaviv: always clamp shadow sampler comparison reference value 2025-01-28 00:01:07 +00:00
freedreno ir3: keep inputs at start block when creating empty preamble 2025-03-15 09:49:03 +01:00
gallium panfrost: consider xfb shader when calculating thread local storage size 2025-04-02 11:04:10 +02:00
gbm gbm: fix get_back_bo() failure with gbm_surface and implicit modifiers 2025-02-15 00:03:01 +01:00
getopt build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
gfxstream gfxstream: Downgrade log severity when enabling params in LinuxVirtGpu 2025-03-20 14:26:05 +01:00
glx glapi: rename exported symbols so as not to conflict with old libglapi 2025-01-23 00:49:05 +00:00
gtest build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imagination pvr: use vk_descriptor_type_is_dynamic 2024-12-19 15:12:58 +00:00
imgui
intel brw: Fix decoding of 3-src destination stride in EU validation 2025-04-02 11:04:10 +02:00
loader kmsro: look for graphics capable screen as renderonly device 2025-04-02 11:04:10 +02:00
mapi mesa/main: wire up glapi bits for EXT_multi_draw_indirect 2025-02-21 17:07:26 +01:00
mesa mesa: fix reuse of deleted sampler object 2025-04-02 11:04:11 +02:00
microsoft ci: fix the artifact name 2025-02-05 16:05:42 +01:00
nouveau nil: Relax alignment requirements for linear images 2025-03-15 09:49:03 +01:00
panfrost panvk: fix memory requirement query for aliased disjoint image 2025-04-02 11:04:10 +02:00
tool panvk: add u_trace perfetto support 2024-12-17 23:14:26 +00:00
util drirc: Apply assume_full_subgroups_with_shared_memory to Resident Evil 2 2025-03-15 09:49:03 +01:00
virtio venus: fix maint4 multi-planar memory requirements 2025-04-02 11:04:10 +02: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