mesa/src/freedreno
Zan Dobersek b8cc891e6e ir3: allow asm roundtrip testing of compiled shader variants
The `asmroundtrip` IR3_SHADER_DEBUG option enables roundtrip testing of
ir3 asm facilities by generating disassembly for each compiled shader
variant, parsing that disassembly back into ir3 and assembling back into
binary, with the expectation that the initial binary and the post-roundtrip
binary are identical.

This should give some guarantee that any shader that ir3 can produce can
also be constructed through assembly and fed back into ir3.

When enabled, each shader variant has a parallel roundtrip variant created.
At the moment this variant is discarded after validation, but it could
replace the initial variant in the future to also test behavior of such
roundtrip-generated binary and accompanying metadata.

Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Reviewed-by: Job Noorman <jnoorman@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34076>
2025-05-08 09:44:31 +00:00
..
.gitlab-ci freedreno/regs: Document fast border color in sampler 2025-05-02 16:43:31 +00:00
afuc freedreno: Misc control registers updates 2025-03-14 16:52:06 +00:00
ci ci: rename all the .b2c- jobs into .ci-tron- 2025-05-07 21:02:16 +00:00
common freedreno: Remove compute_constlen_quirk 2025-04-30 18:44:34 +00:00
computerator freedreno/a6xx, turnip: Set CONSTANTRAMMODE correctly 2025-04-30 18:44:34 +00:00
decode freedreno/crashdec: Dump CP_BV_SQE_UCODE_DBG 2025-03-14 16:52:06 +00:00
drm freedreno/virtio: Use util_get_command_line() helper 2025-05-07 13:22:48 +00:00
drm-shim freedreno/drm-shim: enable raytracing 2025-01-31 20:19:24 +00:00
ds freedreno/percntr: Expose LRZ derived counters 2025-05-02 11:39:54 +00:00
fdl tu,freedreno: Don't fallback to LINEAR with DRM_FORMAT_MOD_QCOM_COMPRESSED 2025-04-22 19:48:43 +00:00
ir2 freedreno: use unicode © instead of DOS-like (C) copyright sign 2024-08-28 08:54:00 +00:00
ir3 ir3: allow asm roundtrip testing of compiled shader variants 2025-05-08 09:44:31 +00:00
isa ir3: fix display of dot-product instructions 2025-05-08 09:44:31 +00:00
perfcntrs freedreno/percntr: Expose LRZ derived counters 2025-05-02 11:39:54 +00:00
registers freedreno/regs: Document fast border color in sampler 2025-05-02 16:43:31 +00:00
rnn freedreno/rnndec: Consider array length when finding by reg name 2024-10-15 15:35:39 +00:00
vulkan tu: scalarize IO before linking 2025-05-08 08:18:24 +00:00
.clang-format freedreno: add missing entries to ForEachMacros 2025-01-24 12:15:31 +00:00
.dir-locals.el
.editorconfig
meson.build meson: Update Lua dependency version to 5.3 2024-08-14 03:03:46 +00:00