cs_lds_xchg64_ext: judge ds_or_rtn_b64's returned pair and ds_max_rtn_f32's two results apart #186

Closed
leonida/mandy
Andretuta wants to merge 0 commits from old-pr/9918 into main

Pull request closed

This pull request cannot be reopened because the branch was deleted.

Andretuta commented 2026-11-24 02:37:58 +00:00

Carried over from old PR 9918 by Sunkiller-qc in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9918, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
Sunkiller-qc: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

Thanks for d578b48, great coverage. Two small gaps: the returned pair of ds_or_rtn_b64 wasn't judged, and XORing ds_max_rtn_f32's memory value with its returned value couldn't tell a swapped result apart. This fixes both within the 8-word dump (out[2] now also folds in the returned pair, out[7] is the returned value of ds_max_rtn_f32 alone, its memory word is folded into out[6]) and resolves the contradictory GPU-verified wording in design.md.

The new expected words were derived by hand from the header and haven't been re-run on a GPU, so a GPU run would be appreciated.

> Carried over from **old PR 9918** by `Sunkiller-qc` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9918`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `Sunkiller-qc`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): Thanks for d578b48, great coverage. Two small gaps: the returned pair of ds_or_rtn_b64 wasn't judged, and XORing ds_max_rtn_f32's memory value with its returned value couldn't tell a swapped result apart. This fixes both within the 8-word dump (out[2] now also folds in the returned pair, out[7] is the returned value of ds_max_rtn_f32 alone, its memory word is folded into out[6]) and resolves the contradictory GPU-verified wording in design.md. The new expected words were derived by hand from the header and haven't been re-run on a GPU, so a GPU run would be appreciated.
aslan2142 commented 2026-12-01 11:42:30 +00:00

Draft PR review note: this carried-over PR currently conflicts with main (in docs/design.md, runtime/test/shaders/check.py, and scripts/run_gpu_tests.py) and its CI run was cancelled. The improved judging of ds_or_rtn_b64 and ds_max_rtn_f32 in cs_lds_xchg64_ext.asm is still distinct from main (check.py:196 still expects 0xF00FF000). Please rebase onto current main, mark ready, and run fresh CI if you want to land it.

(AI-assisted review.)

Draft PR review note: this carried-over PR currently conflicts with `main` (in `docs/design.md`, `runtime/test/shaders/check.py`, and `scripts/run_gpu_tests.py`) and its CI run was cancelled. The improved judging of `ds_or_rtn_b64` and `ds_max_rtn_f32` in `cs_lds_xchg64_ext.asm` is still distinct from `main` (`check.py:196` still expects `0xF00FF000`). Please rebase onto current `main`, mark ready, and run fresh CI if you want to land it. *(AI-assisted review.)*
aslan2142 commented 2026-12-01 12:13:26 +00:00

Marking Ready for Review since no WIP/blocker reason for draft status is specified on this PR, so it can enter normal CI and review.

(AI-assisted triage.)

Marking Ready for Review since no WIP/blocker reason for draft status is specified on this PR, so it can enter normal CI and review. *(AI-assisted triage.)*
aslan2142 reviewed 2026-12-01 12:57:41 +00:00
aslan2142 left a comment
No description provided.
Now ready for review, requesting changes before merge: - **Merge conflicts (`CONFLICTING`/`DIRTY`)**: conflicts with `main` in `docs/design.md`, `runtime/test/shaders/check.py`, and `scripts/run_gpu_tests.py`. - **CI**: checks from 2026-11-24 were cancelled. The `cs_lds_xchg64_ext` checks remain distinct from `check.py:196`; please rebase onto current `main` and run fresh green CI. *(AI-assisted review.)*
aslan2142 commented 2026-12-01 16:28:51 +00:00

Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (d3d12/) available now. Thank you for the contribution! If you believe this PR was closed by mistake (for example, if it still applies to active tools, d3d12/, or general docs), please feel free to reopen it.

Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (`d3d12/`) available now. Thank you for the contribution! If you believe this PR was closed by mistake (for example, if it still applies to active tools, `d3d12/`, or general docs), please feel free to reopen it.
Sign in to join this conversation.
No description provided.