mesa/src/freedreno
Job Noorman f267e7797f ir3: allow const src0 for ldg.a/stg.a/ray_intersection
While they allow a const src, they don't allow the full range of const
registers since the encoding only uses 8 bits. Add a new helper
(ir3_valid_const) that indicates this and use that in ir3_cp.

Totals from 2278 (1.29% of 176266) affected shaders:
MaxWaves: 30124 -> 30376 (+0.84%)
Instrs: 1472806 -> 1468750 (-0.28%); split: -0.44%, +0.16%
CodeSize: 2990430 -> 2967568 (-0.76%); split: -0.88%, +0.11%
NOPs: 244627 -> 246385 (+0.72%); split: -1.71%, +2.43%
MOVs: 51408 -> 45667 (-11.17%); split: -13.16%, +1.99%
Full: 35639 -> 35216 (-1.19%)
(ss): 46519 -> 42591 (-8.44%); split: -12.16%, +3.71%
(sy): 16763 -> 17269 (+3.02%); split: -1.35%, +4.37%
(ss)-stall: 187784 -> 180294 (-3.99%); split: -9.06%, +5.07%
(sy)-stall: 922477 -> 936696 (+1.54%); split: -3.40%, +4.94%
Cat0: 268783 -> 270558 (+0.66%); split: -1.54%, +2.20%
Cat1: 63982 -> 58277 (-8.92%); split: -10.59%, +1.68%
Cat2: 523798 -> 523707 (-0.02%)
Cat7: 47476 -> 47441 (-0.07%); split: -0.11%, +0.03%

Signed-off-by: Job Noorman <jnoorman@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41365>
2026-05-06 05:26:49 +00:00
..
ci tu: Add capture/replay for sparse buffers and descriptor buffer. 2026-05-04 08:09:19 +00:00
common freedreno: Don't set UCHE_CLIENT_PF 2026-04-24 08:58:27 +00:00
computerator freedreno: Add fd{2,3,4,5}_hw.h and fd_hw_common.h 2026-04-10 13:54:59 +00:00
decode freedreno/decode: Fix error() in script.c 2026-04-17 09:16:34 +00:00
drm freedreno/drm/virtio: Fix wait_fence ret ordering 2026-04-23 06:52:14 +00:00
drm-shim freedreno/common: add support for the Adreno 810 2026-04-10 01:24:59 +00:00
ds fd/pps: Allocate performance counters from high-to-low 2026-04-16 21:59:35 +00:00
fdl tu: Support EXT_shader_image_atomic_int64 2026-04-11 19:46:13 +00:00
ir2 freedreno/decode,ir3: Mark decoded dwords as const 2026-04-17 09:16:34 +00:00
ir3 ir3: allow const src0 for ldg.a/stg.a/ray_intersection 2026-05-06 05:26:49 +00:00
isa ir3/isa: use same src for ldg.a OFF field on a6xx/a7xx 2026-05-05 06:25:49 +02:00
perfcntrs freedreno/registers: Add gen8 perfcntrs 2026-04-24 21:28:33 +00:00
qrisc freedreno: Rename afuc to QRisc 2026-03-08 22:32:39 +00:00
registers freedreno/registers: Add gen8 perfcntrs 2026-04-24 21:28:33 +00:00
rnn freedreno/rnn: Track reg usage 2026-02-19 00:56:43 +00:00
tests freedreno: Add check_xml_includes test 2026-04-10 13:54:59 +00:00
vulkan tu: Fix tu_bo_make_zombie without queues 2026-05-05 11:47:41 +00:00
.clang-format clang-format: Move ForEachMacros into src/.clang-format for freedreno 2025-09-09 07:04:55 +00:00
.dir-locals.el
.editorconfig
meson.build freedreno: Add check_xml_includes to meson setup 2026-04-10 13:54:59 +00:00