tests: GPU fixture cs_w32_vcmp64_null for 64-bit integer v_cmp/v_cmpx null sources (OLD-10034) #1031

Open
github-bot wants to merge 1 commit from github-bot/gh-1031 into main AGit
Owner

@⁠TanmaySatyam on GitHub · 2026-11-24 17:03 UTC · original
TanmaySatyam:test/old-10034-gpu-vcmp64-null → main · +124 −5 · 4 files · 1 commits · open

Summary

Claims and carries OLD-10034 (Draft PR #302, old-pr/10034 authored by @⁠ramon-victor, original authorship preserved):

  • Adds wave32 compute GPU fixture
    untime/test/shaders/cs_w32_vcmp64_null.asm exercising cmp* and cmpx* (eq,
    e, lt, le, gt, ge) on u64 and i64 with
    ull (= 0) in src0, src1, or both under full and partial EXEC, plus sentinel VCC preservation for _cmpx.
  • Adds ; regen_fixtures: wave32 metadata so ests/test_regen_fixtures.py passes cleanly.
  • Wires cs_w32_vcmp64_null into
    untime/test/shaders/check.py and scripts/run_gpu_tests.py with expected 8-word dump (
**@⁠TanmaySatyam** on GitHub · 2026-11-24 17:03 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1031) `TanmaySatyam:test/old-10034-gpu-vcmp64-null` → `main` · +124 −5 · 4 files · 1 commits · open ### Summary Claims and carries **OLD-10034** (Draft PR #302, old-pr/10034 authored by @⁠ramon-victor, original authorship preserved): - Adds wave32 compute GPU fixture untime/test/shaders/cs_w32_vcmp64_null.asm exercising _cmp_* and _cmpx_* (eq, e, lt, le, gt, ge) on u64 and i64 with ull (= 0) in src0, src1, or both under full and partial EXEC, plus sentinel VCC preservation for _cmpx. - Adds ; regen_fixtures: wave32 metadata so ests/test_regen_fixtures.py passes cleanly. - Wires cs_w32_vcmp64_null into untime/test/shaders/check.py and scripts/run_gpu_tests.py with expected 8-word dump (
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:34:26 +00:00
Author
Owner

@⁠thesubtleties on GitHub · 2026-11-24 19:21 UTC · original

Tested 973445f58 merged onto main 3aa97542: cs_w32_vcmp64_null passes on the 3080 and gfx1036, native and with LEONIDA_W64_EMULATE=1. No other GPU test changes from main. run_semantic_tests.py tests/semantic: 0 files failed.

NVIDIA RTX 3080 (620.73.04) and AMD Raphael RDNA2 iGPU gfx1036 (RADV, Mesa 26.3.1), CachyOS. This runs translated SPIR-V; it is not a native RDNA2 measurement. AI-assisted (Claude Code)

**@⁠thesubtleties** on GitHub · 2026-11-24 19:21 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1031#issuecomment-7141979542) Tested `973445f58` merged onto main `3aa97542`: `cs_w32_vcmp64_null` passes on the 3080 and gfx1036, native and with `LEONIDA_W64_EMULATE=1`. No other GPU test changes from main. `run_semantic_tests.py tests/semantic`: 0 files failed. NVIDIA RTX 3080 (620.73.04) and AMD Raphael RDNA2 iGPU gfx1036 (RADV, Mesa 26.3.1), CachyOS. This runs translated SPIR-V; it is not a native RDNA2 measurement. AI-assisted (Claude Code)
Author
Owner

@⁠CodingRule on GitHub · 2026-11-25 12:20 UTC · original

GPU test on an NVIDIA Ada card, for the record: this passes on an RTX 4090.

  • Tested: this branch's head e13e00db merged onto main 0d80bc5d (clean merge), test programs built from that main with scripts\build_runtime.ps1.
  • Command: python -I scripts/run_gpu_tests.py --build runtime/build --filter cs_w32_vcmp64_null, once native and once with LEONIDA_W64_EMULATE=1.
  • Result: 1/1 translated and spirv-val clean, 1/1 passed in both modes, with the expected words/pixels from the fixture header. Nothing skipped.
  • Device: NVIDIA GeForce RTX 4090 (Ada / AD102), driver 591.86, Vulkan 1.4.325, subgroup 32..32, Windows 11 Pro build 26200. llvm-mc 21.1.8 (scripts\build_llvm_mc.ps1), SPIRV-Tools v2026.4, MSVC 14.44.35207.

Only the filtered fixture(s) were run for this PR, not the full suite or ctest; the full-suite baseline for this card on main is in #1777. Synthetic fixtures only, no game files. AI-assisted (Claude Code ran the tests and wrote this comment).

**@⁠CodingRule** on GitHub · 2026-11-25 12:20 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1031#issuecomment-7162237812) GPU test on an NVIDIA Ada card, for the record: this passes on an **RTX 4090**. - **Tested:** this branch's head `e13e00db` merged onto `main` `0d80bc5d` (clean merge), test programs built from that `main` with `scripts\build_runtime.ps1`. - **Command:** `python -I scripts/run_gpu_tests.py --build runtime/build --filter cs_w32_vcmp64_null`, once native and once with `LEONIDA_W64_EMULATE=1`. - **Result:** 1/1 translated and `spirv-val` clean, 1/1 passed in both modes, with the expected words/pixels from the fixture header. Nothing skipped. - **Device:** NVIDIA GeForce RTX 4090 (Ada / AD102), driver 591.86, Vulkan 1.4.325, subgroup 32..32, Windows 11 Pro build 26200. llvm-mc 21.1.8 (`scripts\build_llvm_mc.ps1`), SPIRV-Tools v2026.4, MSVC 14.44.35207. Only the filtered fixture(s) were run for this PR, not the full suite or ctest; the full-suite baseline for this card on `main` is in #1777. Synthetic fixtures only, no game files. AI-assisted (Claude Code ran the tests and wrote this comment).
This pull request has changes conflicting with the target branch.
  • runtime/test/shaders/check.py
  • scripts/run_gpu_tests.py
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1031/head:github-bot/gh-1031'
git switch 'github-bot/gh-1031'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1031'
git switch 'github-bot/gh-1031'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1031'
git switch 'github-bot/gh-1031'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1031'
git switch 'main'
git merge --squash 'github-bot/gh-1031'
git switch 'main'
git merge --ff-only 'github-bot/gh-1031'
git switch 'main'
git merge 'github-bot/gh-1031'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.