mesa/src
Robert Mader 29c6a25747 gallium: Set and count all extra samplers
After the commit mentioned below the `extra` variable only holds the
last added extra sampler. For 3-plane formats this results in one extra
sampler being leaked.

Add the bits for each extra sampler instead.

Fixes: abcd02a07d (gallium: Properly handle non-contiguous used sampler view indexes)
Signed-off-by: Robert Mader <robert.mader@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Matthias Reichl <hias@horus.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36870>
(cherry picked from commit 25fe82630a)
2025-08-27 08:59:52 +02:00
..
amd radv: dirty some states from graphics pipeline earlier 2025-08-27 08:59:51 +02:00
android_stub
asahi agx: gate scratch opt on internal shaders 2025-08-13 12:59:04 +02:00
broadcom v3dv: Do not increase TFU READAHEAD for imported buffers size 2025-07-16 16:23:12 +02:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler nir/uub: fix exclusive scans 2025-08-27 08:59:51 +02:00
drm-shim
egl perfetto: unify init 2025-08-13 12:59:05 +02:00
etnaviv meson: Streamline silencing of warnings in bindgen generated code 2025-07-16 16:23:09 +02:00
freedreno ir3: emit descriptor prefetch in block dominated by its sources 2025-08-27 08:59:52 +02:00
gallium radeonsi/vcn: Disable H264 encode 8x8 transform when CABAC is disabled 2025-08-27 08:59:52 +02:00
gbm meson: support building with system libgbm 2025-04-09 12:15:33 +00:00
getopt
gfxstream gfxstream: get rid of logspam in virtualized case 2025-06-04 15:52:44 +02:00
glx glx: Fix memory leak with software dri 2025-07-02 16:19:30 +02:00
gtest
imagination treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
imgui
intel brw: Fix folding case for MAD instruction with all immediates 2025-08-27 08:59:52 +02:00
loader loader: Report DRI_PRIME errors earlier 2025-07-16 16:23:12 +02:00
mapi Get rid of 5 remaining references to glapitable.h 2025-04-27 11:44:57 +02:00
mesa gallium: Set and count all extra samplers 2025-08-27 08:59:52 +02:00
microsoft dzn: Roll up initialization failure in dzn_meta_init 2025-07-02 16:19:32 +02:00
nouveau compiler/rust: fix errors about hiding elided lifetime 2025-08-27 08:59:51 +02:00
panfrost perfetto: unify init 2025-08-13 12:59:05 +02:00
tool perfetto/android: align datasource names with tooling expectations 2025-04-08 18:29:10 +00:00
util u_trace: Indirect capture fixes 2025-08-13 12:59:05 +02:00
virtio venus: hide swapchainMaintenance1 behind wsi guard 2025-08-27 08:59:50 +02:00
vulkan vulkan/util: add missing vulkan header 2025-08-13 12:59:06 +02:00
x11 glx/egl/x11: fix x11_dri3_check_multibuffer 2025-02-17 02:50:15 +00:00
.clang-format radv: Add radv_foreach_stage to ForEachMacros again. 2025-04-11 18:01:47 +00:00
meson.build meson: split subdir for virtio/vdrm and virtio/vulkan 2025-07-16 16:23:06 +02:00