diff options
| author | Kal0s-design <356578040+Kal0s-design@users.noreply.github.com> | 2026-11-30 11:39:15 +0100 |
|---|---|---|
| committer | Kal0s-design <356578040+Kal0s-design@users.noreply.github.com> | 2026-11-30 11:39:15 +0100 |
| commit | 709a6bbb16865fa0d211302cb6500ede398380f5 (patch) | |
| tree | 8343c2511e747f672b62f7bd58e3fca069481129 /docs/github-metadata-export.md | |
| parent | 012b79a6787cd47d31dcf023eb2b67a1eac6d77f (diff) | |
d3d12 shader: find the wave sections after an unmatched saveexec
wave::sections() looks in a block for whole-wave sections: a saveexec of
every lane, the code under it, and the EXEC restore that ends it. When a
saveexec's restore was not in the block (it lies in a later one), the scan
stopped there (`let Some(end) = end else { break; }`), so every whole-wave
section later in the same block was missed and its reduction translated
the general way instead of as the section's shape. Such a saveexec is no
section; the scan now goes on past it.
Test: an_unmatched_saveexec_leaves_the_later_sections_of_its_block puts an
unmatched s_or_saveexec_b64 before the wave64 OR reduction the other tests
use and expects that section and its shape at index 1. On main it fails
("the section after an unmatched saveexec", left None).
Port of shh's fix and test in the sibling VIctory tree (TaynanGT/Vice-Tay
17e3e2c, GPL-3.0). The shader cache key covers leonida-shader/src, so
cached translations are made again.
Co-Authored-By: shh <marek8788@proton.me>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/github-metadata-export.md')
0 files changed, 0 insertions, 0 deletions