mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-20 13:28:09 +02:00
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> |
||
|---|---|---|
| .. | ||
| .gitlab-ci | ||
| afuc | ||
| ci | ||
| common | ||
| computerator | ||
| decode | ||
| drm | ||
| drm-shim | ||
| ds | ||
| fdl | ||
| ir2 | ||
| ir3 | ||
| isa | ||
| perfcntrs | ||
| registers | ||
| rnn | ||
| vulkan | ||
| .clang-format | ||
| .dir-locals.el | ||
| .editorconfig | ||
| meson.build | ||