Test divergent readlane refusal across two console waves #209

Manually merged
github merged 1 commit from gh-pr/209/head into gh-pr/209/base 2026-11-27 01:32:12 +00:00
Owner

@⁠GeorgiyDemo on GitHub · 2026-11-27 01:04 UTC · original
GeorgiyDemo:test/wave64-divergent-regression → main · +11 −0 · 1 files · 1 commits · merged 2026-11-27 01:25 UTC

The existing test translates LOCKSTEP_READLANE with a 64-thread group. This adds its 128-thread counterpart for the multi-wave case discussed in #4. Only local IDs 0 through 39 enter the branch containing the read from lane 35. The second console wave skips it entirely, so the current lockstep fallback cannot safely put a group-wide barrier there. The test checks the specific divergent-exchange diagnostic.

Temporarily widening the lockstep limit to 128 made the new test fail because the translator accepted the program. Restoring the limit made it pass.

Tested on an M5 Pro. The shader suite passed (282 passed, 2 ignored), as did Windows-target Clippy and the asset policy check. In the broader native suite, the rectangle-list GPU test could not load Apple's libmetalirconverter.dylib on this machine.

Two native loader probe tests also lacked their local mingw-w64 fixture build dependency.

**@⁠GeorgiyDemo** on GitHub · 2026-11-27 01:04 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/209) `GeorgiyDemo:test/wave64-divergent-regression` → `main` · +11 −0 · 1 files · 1 commits · merged 2026-11-27 01:25 UTC The existing test translates `LOCKSTEP_READLANE` with a 64-thread group. This adds its 128-thread counterpart for the multi-wave case discussed in #4. Only local IDs 0 through 39 enter the branch containing the read from lane 35. The second console wave skips it entirely, so the current lockstep fallback cannot safely put a group-wide barrier there. The test checks the specific divergent-exchange diagnostic. Temporarily widening the lockstep limit to 128 made the new test fail because the translator accepted the program. Restoring the limit made it pass. Tested on an M5 Pro. The shader suite passed (282 passed, 2 ignored), as did Windows-target Clippy and the asset policy check. In the broader native suite, the rectangle-list GPU test could not load Apple's libmetalirconverter.dylib on this machine. Two native loader probe tests also lacked their local mingw-w64 fixture build dependency.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 01:32:09 +00:00
github manually merged commit e214e832ff into gh-pr/209/base 2026-11-27 01:32:12 +00:00
Author
Owner

@⁠LakshanSivakumar on GitHub · 2026-11-27 01:25 UTC · original · approved these changes

Reviewed and tested together with the other open PRs on main (macOS x86_64 workspace tests, the setup shell tests, and Windows clippy). Thanks!

**@⁠LakshanSivakumar** on GitHub · 2026-11-27 01:25 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/209#pullrequestreview-6082265380) · **approved these changes** Reviewed and tested together with the other open PRs on main (macOS x86_64 workspace tests, the setup shell tests, and Windows clippy). Thanks!
This discussion has been locked. Commenting is limited to contributors.
No description provided.