mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:05:54 +01:00
[PR #125] Do not hide failed compute dumps behind subgroup skips #175
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#175
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/125
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:old-pr/9859📝 Commits (1)
44481fdDo not skip failed compute dumps after subgroup warning📊 Changes
4 files changed (+76 additions, -10 deletions)
View changed files
📝
runtime/test/shaders/check.py(+14 -1)📝
scripts/run_gpu_tests.py(+4 -4)📝
tests/test_run_gpu_tests.py(+37 -4)📝
tests/test_shader_checks.py(+21 -1)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):Claim: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7116630322
Problem and fix
Both GPU test runners can report
SKIPwhenvk_compute_testprints a requested subgroup size as unavailable and later fails. A validation error after the dispatch can leave a complete word dump and exit 1; the subgroup warning currently hides that failure. An earlier failure can also leave the warning without a complete dump.An unpinned dispatch can legitimately exit 1 when its words differ at the wrong wave width, so exit status alone cannot decide. The shared skip rule now requires status 0 or 1, a complete eight-word dump, and no validation-error count.
check.pyapplies it to dump mode, andrun_gpu_tests.pyapplies it to its pinned dump case. Other modes and exit-77 unsupported behavior remain as before.Validation
1 validation errors, an exit-1 incomplete dump, exit 2, and exit 77. The validation/incomplete/exit-2 cases report failure; the legitimate unpinned and unsupported cases remain skips. The new tests fail on unchanged main2d53a8055and pass on this head, rebased to7067ff2f2.test_shader_checks.pyclasses: 17 passed. Fulltest_run_gpu_tests.py: 63 passed.test_shader_checks.py: 84 baseline tests and 85 head tests, with the same 15 errors, all in the unrelatedWave64Checksfake harness (cwdargument). No new or resolved error IDs.test_exec_computedandtest_image_atomics_guard, zero new or resolved IDs. The later main update to7067ff2f2touched docs andtests/test_design_contract_rows.py, not these sources or semantic tests.make_game.py --help, changed-file no-game-data scan, andgit diff --checkpassed. Automated merge-tree checks with open fixture PRs#9781and#4669are clean.Tested on macOS 27.2 arm64 / Apple M5 Ultra. This regression uses synthetic process output; no GPU, driver, or game files were used for this fix.
AI-assisted: yes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.