mesa/src
Emma Anholt aea58ebb4b ir3: Use the new NIR pass for load_barycentric_at_* optimization.
The core pass can do our at_sample lowering, while also optimizing it and
at_offset.  This leaves just load_sample_pos lowering in our pass, which
will be renamed in the next commit.  However, the prior load_sample_pos
lowering needed to be split between load_sample_pos and
load_sample_pos_from_id, because the new at_sample lowering generates
load_sample_pos_from_id directly.

shader-db effect (Batman: Arkham Origins, Fallout4, GTAV, Metro Exodus,
Sherlock):

Totals from 150 (0.01% of 1560788) affected shaders:
MaxWaves: 1346 -> 1586 (+17.83%); split: +17.83%, -7.73%
Instrs: 31464 -> 30311 (-3.66%); split: -4.52%, +0.57%
CodeSize: 61962 -> 68216 (+10.09%); split: -1.05%, +12.94%
NOPs: 4598 -> 4556 (-0.91%); split: -10.46%, +10.24%
MOVs: 479 -> 523 (+9.19%); split: -17.12%, +32.36%
COVs: 180 -> 171 (-5.00%)
Full: 1300 -> 1067 (-17.92%)
(ss): 880 -> 842 (-4.32%); split: -15.80%, +10.91%
(sy): 510 -> 562 (+10.20%); split: -5.10%, +19.22%
(ss)-stall: 3112 -> 2930 (-5.85%); split: -21.30%, +19.06%
(sy)-stall: 13774 -> 12429 (-9.76%); split: -16.06%, +5.10%
Preamble Instrs: 6814 -> 12145 (+78.24%)
Early Preamble: 75 -> 13 (-82.67%)
Cat0: 4971 -> 4929 (-0.84%); split: -9.68%, +9.47%
Cat1: 650 -> 677 (+4.15%); split: -15.23%, +23.85%
Cat2: 15246 -> 15210 (-0.24%); split: -0.34%, +0.10%
Cat3: 9661 -> 9595 (-0.68%)
Cat4: 2382 -> 2358 (-1.01%)
Cat5: 2209 -> 1672 (-24.31%)
Cat7: 1075 -> 600 (-44.19%)
Subgroup size: 17600 -> 18880 (+7.27%)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38911>
2026-01-15 07:52:14 +00:00
..
amd ci: uprev VKCTS main to 4d3bedc74e2258c483cf968753207cff84d9e4fc 2026-01-15 06:43:34 +00:00
android_stub android_stub: fix missing prototypes issues 2025-12-02 20:03:02 +00:00
asahi hk: unify tex builders 2026-01-14 08:18:15 +00:00
broadcom Uprev Piglit to 62d499d63d2b8b29a67efd9d93ed9b6a94d4950e 2026-01-14 06:57:19 +00:00
c11 c11/threads: fix build on c23 2025-11-10 07:01:50 +10:00
compiler nir: Add a note on how load_sample_pos_from_id works. 2026-01-15 07:52:14 +00:00
drm-shim drm-shim: handle DRM_CAP_ADDFB2_MODIFIERS 2025-11-24 12:34:08 +00:00
egl wgl: Support contexts created from non-window DCs 2026-01-05 23:25:19 +00:00
etnaviv Uprev Piglit to 62d499d63d2b8b29a67efd9d93ed9b6a94d4950e 2026-01-14 06:57:19 +00:00
freedreno ir3: Use the new NIR pass for load_barycentric_at_* optimization. 2026-01-15 07:52:14 +00:00
gallium zink/ci: document a GLX crash on RADV/POLARIS10 2026-01-15 06:43:34 +00:00
gbm gbm: Make documentation for gbm_bo_map more explicit 2025-12-29 10:05:38 +00:00
getopt
gfxstream gfxstream: Partial revert of "gfxstream: revert "gfxstream: Add Vulkan func/structs for passing debugging data to host"" 2026-01-09 22:50:18 +00:00
glx driconf: add a way to override GLX_CONTEXT_RESET_ISOLATION_BIT_ARB 2025-12-17 23:35:24 +00:00
gtest
imagination pvr: Fix bugs in the format table 2026-01-14 00:58:18 +00:00
imgui imgui: Silence build warnings for imgui 2025-09-16 06:16:19 +00:00
intel intel/blorp: add blorp_shaders.cl 2026-01-15 04:34:55 +00:00
kosmickrisp kk: Fix compilation error when viewMask is 0 2026-01-15 04:54:45 +00:00
loader loader: fix UB in wayland helper code. 2026-01-03 07:56:38 +00:00
mesa mesa: Fix segfaults in _mesa_delete_program and _mesa_reference_program_ 2026-01-12 20:47:07 +00:00
microsoft nir: move exact bit to nir_fp_math_control 2026-01-07 09:40:57 +00:00
nouveau nak/instr_sched_prepass: Fix RegOut special case 2026-01-09 23:31:45 +00:00
panfrost panfrost/ci: add warning about g720 results 2026-01-14 13:26:04 +00:00
poly nir: remove nir_io_add_const_offset_to_base 2025-11-29 00:16:38 +00:00
tool pps/meson: minor refactor for pps_deps 2025-11-08 18:39:00 -08:00
util util: Fix HAVE_BUILD_ID ifdefs 2026-01-15 06:12:05 +00:00
virtio venus/ci: Switch Alder Lake job to Xe KMD 2026-01-13 22:48:26 +00:00
vulkan vk/meta_copy_fill_update: simplify tex builder 2026-01-14 08:18:15 +00:00
x11 treewide: strip unneeded inc_gallium inc_gallium_aux 2025-11-13 22:01:43 +00:00
.clang-format util: Add sparse bitset data structure 2025-11-06 21:34:33 +00:00
meson.build kk: Add KosmicKrisp 2025-10-20 17:46:38 +00:00