mesa/src
Lorenzo Rossi caf5a2640b panvk,panfrost: Always emit ld_var_buf when possible
Previously the driver decided when the backend should use
LD_VAR_BUF[_IMM] instructions based on the total number of varyings
read, falling back to LD_VAR[_IMM] + descriptors when the varying index
could overflow the immediate index in the instructions.  That means that
even adding a single varying read could overflow the index and make
everything fall back to LD_VAR.

With this patch the backend decides when to use LD_VAR_BUF for each
varying load, reporting that decision to the driver.  This helps with
index overflows because only the instruction that actually overflow the
immediate use the LD_VAR fallback, leaving all other instructions on the
fast path.

Signed-off-by: Lorenzo Rossi <lorenzo.rossi@collabora.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40515>
2026-03-20 18:47:11 +00:00
..
amd radv: use nir_shader::uses_printf for lowering printf 2026-03-20 17:02:40 +00:00
android_stub
asahi nir: Use better calculation for alpha-to-coverage mask 2026-03-20 18:09:48 +00:00
broadcom nir: Use better calculation for alpha-to-coverage mask 2026-03-20 18:09:48 +00:00
c11
compiler tu, ir3, nir: Plumb through driver param for alpha-to-coverage 2026-03-20 18:09:49 +00:00
drm-shim
egl wsi/wayland: Use wl_fixes to destroy wl_registry 2026-03-12 16:24:33 +00:00
etnaviv Uprev Piglit to d0a16eee4f7b24abe7e3aab6ee77db8f82e5ad49 2026-03-14 00:35:59 +01:00
freedreno tu: Enable alpha-to-coverage emulation 2026-03-20 18:09:49 +00:00
gallium panvk,panfrost: Always emit ld_var_buf when possible 2026-03-20 18:47:11 +00:00
gbm gbm: Make documentation for gbm_bo_map more explicit 2025-12-29 10:05:38 +00:00
getopt
gfxstream gfxstream: fixes to get Fuchsia headless to compile 2026-03-17 16:25:53 +00:00
glx glx: guard glx_screen frontend_screen member 2026-03-10 01:53:15 +00:00
gtest
imagination nir: Use better calculation for alpha-to-coverage mask 2026-03-20 18:09:48 +00:00
imgui
intel nir: replace lower_ldexp with has_ldexp 2026-03-20 08:15:08 +00:00
kosmickrisp nir: rework nir_alu_src_is_trivial_ssa to take an alu src 2026-03-20 08:50:41 +00:00
loader kmsro: wire Zink up as a fallback 2026-03-13 18:54:26 +00:00
mesa mesa/renderbuffer: always add PIPE_BIND_SAMPLER_VIEW to rendering textures 2026-03-20 15:15:32 +00:00
microsoft nir: replace lower_ldexp with has_ldexp 2026-03-20 08:15:08 +00:00
nouveau nir: replace lower_ldexp with has_ldexp 2026-03-20 08:15:08 +00:00
panfrost panvk,panfrost: Always emit ld_var_buf when possible 2026-03-20 18:47:11 +00:00
poly panvk/csf: implement VK_EXT_primitives_generated_query primitive restart 2026-01-21 09:03:34 +00:00
tool intel: Include available counter descriptions in the perfetto counter spec 2026-03-06 08:47:16 +00:00
util tu: Enable alpha-to-coverage emulation 2026-03-20 18:09:49 +00:00
virtio venus: force prime blit on Nvidia GPU 2026-03-12 20:03:19 +00:00
vulkan vulkan: stop passing vk_device to vk_set_subgroup_size() 2026-03-19 19:23:54 +00:00
x11 x11: Add helper util to check for xshm support 2026-03-06 01:18:53 +00:00
.clang-format
meson.build gallium/dril: Don't use gbm if there is no gbm configured 2026-02-17 08:24:02 +00:00