Skip to content

compute: accept VCC as destination in s_bfm_b64 - #3357

Open
Ammmae0x wants to merge 2 commits into
R0Y00:mainfrom
Ammmae0x:compute/s-bfm-b64-vcc
Open

Ammmae0x wants to merge 2 commits into
R0Y00:mainfrom
Ammmae0x:compute/s-bfm-b64-vcc

Conversation

@Ammmae0x

@Ammmae0x Ammmae0x commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Change

Refs #3224, #2935

Accept VCC (i.dst == 106) as the destination of s_bfm_b64 in the direct C++ compute path (src/gfx1013_direct_compute.inl). The destination guard now admits aligned SGPR pairs (<= 104), VCC (106) and EXEC (126), mirroring s_cselect_b64 / s_not_b64 (#3262). Both vcc_lo and vcc_hi are written through the existing write() path and SCC is untouched, so it is preserved. Odd destinations, M0 (124) and invalid sources are still refused with invalid s_bfm_b64 destination / invalid s_bfm_b64 source.

This removes the highest-impact unclaimed refusal in the refreshed census in #3224 (invalid s_bfm_b64 destination: 9 wave64 shaders / 27,004 dispatches).

New coverage in tests/native_s_bfm_b64_vcc_check.py (registered as native_s_bfm_b64_vcc_controls / native_s_bfm_b64_vcc_hardware, SKIP_RETURN_CODE 77, TIMEOUT 60): wave64 and wave32 s_bfm_b64 vcc, width, offset for width 0, low half (16, 0), high half (32, 32), a 32-bit straddle (20, 24) and width 64 (masked via & 63 to an empty mask), reading back vcc_lo/vcc_hi, using VCC in v_cndmask_b32, and checking SCC is unchanged before and after. Negative controls refuse M0 (124), odd SGPR 23, and invalid sources (VCC / M0 as width/offset operands) with no .cs.cso output.

tests/native_wave64_exec_salu_check.py drops the now-obsolete s_bfm_b64 vcc refusal and instead refuses M0 and odd SGPR 23 as destinations; all existing EXEC and BCNT1_B64 checks are unchanged. docs/experiments/native-salu64-ops.md documents the new destination.

Out of scope: the gfx2hlsl text translator (tests/startup_gfx2hlsl_bfm_b64_check.py) and the pixel path still refuse s_bfm_b64 vcc; those are separate translators and are unchanged here.

AI-assisted.

Verification

Commit under test: f81feb164814807c38fb793189f66572f16dcea2 (repair of 2e460b2666add2d7d17018392fcdac1f40de8daa) (branch compute/s-bfm-b64-vcc, fork Ammmae0x/Xbox2Windows).

Linux (this VM, Python 3.12.3, /tmp/pe-env venv with iced-x86==1.21.0, pefile==2024.8.26):

  • /tmp/pe-env/bin/python -B tests/form_coverage_check.py — exit 0 (form coverage checks passed)
  • /tmp/pe-env/bin/python -B tests/docs_links_check.py — exit 0 (Checked 155 Markdown files and 677 links.)
  • /tmp/pe-env/bin/python -B tests/bidi_controls_check.py — exit 0 (Checked 2547 tracked source, script and build/CI files: no bidirectional controls.)
  • /tmp/pe-env/bin/python -B -m py_compile tests/native_s_bfm_b64_vcc_check.py tests/native_wave64_exec_salu_check.py tests/native_s_not_b64_exec_check.py tests/native_salu64_check.py — exit 0
  • Offline encoding/reference harness (/tmp/bfm_vcc_harness.py, decodes the emitted s_bfm_b64 word, the set_scc word and the store→plane mapping, and independently recomputes every expected word): harness OK: 5 cases x wave32/wave64, BFM dst=VCC, SCC decode, store offsets, reference words all match
  • Empirical spot-mutations, each run against the harness and restored cleanly (verified with diff against a backup and git status):
    • M1 truncate the expected vcc_lo word to 8 bits — KILLED (harness exit 1)
    • M2 change the s_bfm_b64 destination from VCC to EXEC — KILLED
    • M3 reference width off by one — KILLED
    • M4 flip the set_scc polarity — KILLED
    • M5 store vcc_hi into the vcc_lo plane — KILLED
  • C++ check: the change is a single guard line; the edited expression compiles standalone with g++ -std=c++20 -fsyntax-only and is byte-identical in form to the proven s_cselect_b64 guard. A full compile_dxil build was NOT possible on Linux: g++ -fsyntax-only src/gfx1013_compute_native.cpp stops at d3d12.h: No such file or directory (Windows SDK absent).

Not run — needs Windows (see the WIN-VERIFY tag below): cmake --build --preset dev --target compile_dxil native_store_replay and ctest --preset dev --no-tests=error -R '^(native_s_bfm_b64_vcc_|native_wave64_exec_salu|native_salu64)' -V, including the native_s_bfm_b64_vcc_hardware replay on a real adapter. An exit-77 skip is not a pass; report the adapter separately.

Repair in f81feb164814807c38fb793189f66572f16dcea2 (Windows verification of 2e460b26 failed in native_s_bfm_b64_vcc_controls: all 10 cases failed with unbound numeric SGPR s9 at +0x3c): vmove(1, 9) encoded v_mov_b32 v1, s9, not VGPR v9 — plane 0 is now stored directly with *store(9, 0) (the s_not_b64 template's idiom), and only the SGPR sources (VCC, VCC + 1, SCC_OUT) go through vmove. The dead sop1(MOV_B64, EXEC, NEG_ONE) restore before readback was also removed: EXEC is never narrowed in program() (unlike the s_not_b64 template), so in wave64 it was already all ones and in wave32 it only widened EXEC_HI from the seeded 1. MSVC build (compile_dxil, native_store_replay) and native_salu64_controls already passed on Windows; only native_s_bfm_b64_vcc_controls (and the hardware test) need re-running. Linux re-verification of the repair: offline harness harness OK: 5 cases x wave32/wave64 (strengthened to reject any vmove(1, 9) and to check the store→plane mapping including direct VGPR stores; it fails on the pre-repair code), 3/3 spot-mutations killed, form_coverage_check.py, docs_links_check.py (155 files, 677 links) and bidi_controls_check.py (2549 files) all exit 0.

Evidence and follow-up

Fixtures are synthetic hand-encoded instruction words (no game files); the reference mask is computed independently as ((1 << (width & 63)) - 1) << (offset & 63). Assumptions: in the direct compute model VCC is a 64-bit pair in both wave sizes, as already established by native_salu64_check.py (which reads back a VCC destination via v_mov_b32) and native_s_not_b64_exec_check.py.

Follow-up for Windows verification: run the ctest filter above; if native_lds_request-style hardware is unavailable, report the skip separately. The _validate_writable_dir writability follow-up on #3136 is unrelated and stays a follow-up.

Checklist

  • This pull request covers one reviewable behavior.
  • I included the exact command and result for every check I ran.
  • I considered a negative control or failure case for a new fixture.
  • I updated README/docs when a capability or build requirement changed.
  • I did not include game files, dumps, distribution links or secrets.

Windows Verification (f81feb16)

  • Environment: Windows build 26100, MSVC 19.50.35727.0, adapter NVIDIA GeForce RTX 4050 Laptop GPU (driver 32.0.15.9186, XBOX2WINDOWS_ADAPTER=NVIDIA), D3D12 debug layer off, commit f81feb164814807c38fb793189f66572f16dcea2.
  • cmake --build --preset dev --target compile_dxil native_store_replay -> exit 0
  • cmake --build --preset release --target compile_dxil native_store_replay -> exit 0
  • .\out\pe-env\Scripts\python.exe -B tests/form_coverage_check.py -> form coverage checks passed (exit 0)
  • .\out\pe-env\Scripts\python.exe -B tests/docs_links_check.py -> Self-test passed. Checked 155 Markdown files and 677 links. (exit 0)
  • .\out\pe-env\Scripts\python.exe -B tests/bidi_controls_check.py -> Self-test passed. Checked 2549 tracked source, script and build/CI files: no bidirectional controls. (exit 0)
Verbatim ctest --preset dev --no-tests=error -R '^(native_s_bfm_b64_vcc_|native_wave64_exec_salu|native_salu64)' -V (5/5 passed, 0 skips)

``text
UpdateCTestConfiguration from :C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/DartConfiguration.tcl
Test project C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/dev
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 2701
Start 2701: native_s_bfm_b64_vcc_controls

2701: Test command: C:\Users\Ammar.gemini\antigravity\scratch\Xbox2Windows-wt\win-verify\out\pe-env\Scripts\python.exe "-B" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/tests/native_s_bfm_b64_vcc_check.py" "controls" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/dev/compile_dxil.exe" "C:/Program Files (x86)/Windows Kits/10/bin/10.0.26100.0/x64"
2701: Working Directory: C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/dev
2701: Test timeout computed to be: 60
2701: Wave32 and wave64 compile controls and invalid operand refusals passed
1/5 Test #2701: native_s_bfm_b64_vcc_controls ...... Passed 0.82 sec
test 2702
Start 2702: native_s_bfm_b64_vcc_hardware

2702: Test command: C:\Users\Ammar.gemini\antigravity\scratch\Xbox2Windows-wt\win-verify\out\pe-env\Scripts\python.exe "-B" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/tests/native_s_bfm_b64_vcc_check.py" "hardware" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/dev/native_store_replay.exe" "C:/Program Files (x86)/Windows Kits/10/bin/10.0.26100.0/x64"
2702: Working Directory: C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/dev
2702: Test timeout computed to be: 60
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: wave32 bfm vcc 0,0 SCC=1: both groups and guards matched
2702: wave32 bfm vcc 16,0 SCC=0: both groups and guards matched
2702: wave32 bfm vcc 32,32 SCC=1: both groups and guards matched
2702: wave32 bfm vcc 20,24 SCC=0: both groups and guards matched
2702: wave32 bfm vcc 64,0 SCC=1: both groups and guards matched
2702: wave64 bfm vcc 0,0 SCC=1: both groups and guards matched
2702: wave64 bfm vcc 16,0 SCC=0: both groups and guards matched
2702: wave64 bfm vcc 32,32 SCC=1: both groups and guards matched
2702: wave64 bfm vcc 20,24 SCC=0: both groups and guards matched
2702: wave64 bfm vcc 64,0 SCC=1: both groups and guards matched
2/5 Test #2702: native_s_bfm_b64_vcc_hardware ...... Passed 3.08 sec
test 2713
Start 2713: native_salu64_controls

2713: Test command: C:\Users\Ammar.gemini\antigravity\scratch\Xbox2Windows-wt\win-verify\out\pe-env\Scripts\python.exe "-B" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/tests/native_salu64_check.py" "controls" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/dev/compile_dxil.exe" "C:/Program Files (x86)/Windows Kits/10/bin/10.0.26100.0/x64"
2713: Working Directory: C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/dev
2713: Test timeout computed to be: 60
2713: invalid s_cselect_b64 destination
2713: invalid s_not_b64 source
3/5 Test #2713: native_salu64_controls ............. Passed 0.21 sec
test 2714
Start 2714: native_salu64_hardware

2714: Test command: C:\Users\Ammar.gemini\antigravity\scratch\Xbox2Windows-wt\win-verify\out\pe-env\Scripts\python.exe "-B" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/tests/native_salu64_check.py" "hardware" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/dev/native_store_replay.exe" "C:/Program Files (x86)/Windows Kits/10/bin/10.0.26100.0/x64"
2714: Working Directory: C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/dev
2714: Test timeout computed to be: 60
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: bfm 0,0: result words, SCC and guards matched
2714: bfm 1,0: result words, SCC and guards matched
2714: bfm 31,1: result words, SCC and guards matched
2714: bfm 32,32: result words, SCC and guards matched
2714: bfm 33,0: result words, SCC and guards matched
2714: bfm 63,1: result words, SCC and guards matched
2714: bfm 64,0: result words, SCC and guards matched
2714: cselect pair,-1 SCC=0: result words, SCC and guards matched
2714: cselect literal,pair SCC=0: result words, SCC and guards matched
2714: cselect pair,-1 SCC=1: result words, SCC and guards matched
2714: cselect literal,pair SCC=1: result words, SCC and guards matched
2714: not (2309737967, 19088743): result words, SCC and guards matched
2714: not (0, 0): result words, SCC and guards matched
2714: not (4294967295, 4294967295): result words, SCC and guards matched
2714: not (4294967295, 0): result words, SCC and guards matched
4/5 Test #2714: native_salu64_hardware ............. Passed 5.08 sec
test 2761
Start 2761: native_wave64_exec_salu_hardware

2761: Test command: C:\Users\Ammar.gemini\antigravity\scratch\Xbox2Windows-wt\win-verify\out\pe-env\Scripts\python.exe "-B" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/tests/native_wave64_exec_salu_check.py" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/dev/compile_dxil.exe" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/dev/native_store_replay.exe" "C:/Program Files (x86)/Windows Kits/10/bin/10.0.26100.0/x64"
2761: Working Directory: C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/dev
2761: Test timeout computed to be: 60
2761: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2761: adapter_luid=00000000:00bc4037
2761: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2761: driver=32.0.15.9186
2761: 0 32 7 4 1
2761: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2761: adapter_luid=00000000:00bc4037
2761: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2761: driver=32.0.15.9186
2761: 0 32 7 4 1
2761: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2761: adapter_luid=00000000:00bc4037
2761: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2761: driver=32.0.15.9186
2761: 0 32 7 4 1
2761: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2761: adapter_luid=00000000:00bc4037
2761: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2761: driver=32.0.15.9186
2761: 0 32 7 4 1
2761: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2761: adapter_luid=00000000:00bc4037
2761: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2761: driver=32.0.15.9186
2761: 0 32 7 4 1
2761: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2761: adapter_luid=00000000:00bc4037
2761: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2761: driver=32.0.15.9186
2761: 0 32 7 4 1
2761: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2761: adapter_luid=00000000:00bc4037
2761: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2761: driver=32.0.15.9186
2761: 0 32 7 4 1
2761: wave64, 64 threads, count: both groups and guards matched
2761: wave64, 64 threads, lower: both groups and guards matched
2761: wave64, 64 threads, upper: both groups and guards matched
2761: wave64, 128 threads, count: both groups and guards matched
2761: wave64, 128 threads, lower: both groups and guards matched
2761: wave64, 128 threads, upper: both groups and guards matched
2761: wave32, 32 threads, count: both groups and guards matched
5/5 Test #2761: native_wave64_exec_salu_hardware ... Passed 2.62 sec

The following tests passed:
native_s_bfm_b64_vcc_controls
native_s_bfm_b64_vcc_hardware
native_salu64_controls
native_salu64_hardware
native_wave64_exec_salu_hardware

100% tests passed, 0 tests failed out of 5

Total Test time (real) = 11.93 sec
``

Verbatim ctest --preset release --no-tests=error -R '^(native_s_bfm_b64_vcc_|native_wave64_exec_salu|native_salu64)' -V (5/5 passed, 0 skips)

``text
UpdateCTestConfiguration from :C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/DartConfiguration.tcl
Test project C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/release
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 2701
Start 2701: native_s_bfm_b64_vcc_controls

2701: Test command: C:\Users\Ammar.gemini\antigravity\scratch\Xbox2Windows-wt\win-verify\out\pe-env\Scripts\python.exe "-B" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/tests/native_s_bfm_b64_vcc_check.py" "controls" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/release/compile_dxil.exe" "C:/Program Files (x86)/Windows Kits/10/bin/10.0.26100.0/x64"
2701: Working Directory: C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/release
2701: Test timeout computed to be: 60
2701: Wave32 and wave64 compile controls and invalid operand refusals passed
1/5 Test #2701: native_s_bfm_b64_vcc_controls ...... Passed 0.77 sec
test 2702
Start 2702: native_s_bfm_b64_vcc_hardware

2702: Test command: C:\Users\Ammar.gemini\antigravity\scratch\Xbox2Windows-wt\win-verify\out\pe-env\Scripts\python.exe "-B" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/tests/native_s_bfm_b64_vcc_check.py" "hardware" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/release/native_store_replay.exe" "C:/Program Files (x86)/Windows Kits/10/bin/10.0.26100.0/x64"
2702: Working Directory: C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/release
2702: Test timeout computed to be: 60
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2702: adapter_luid=00000000:00bc4037
2702: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2702: driver=32.0.15.9186
2702: 0 32 7 4 1
2702: wave32 bfm vcc 0,0 SCC=1: both groups and guards matched
2702: wave32 bfm vcc 16,0 SCC=0: both groups and guards matched
2702: wave32 bfm vcc 32,32 SCC=1: both groups and guards matched
2702: wave32 bfm vcc 20,24 SCC=0: both groups and guards matched
2702: wave32 bfm vcc 64,0 SCC=1: both groups and guards matched
2702: wave64 bfm vcc 0,0 SCC=1: both groups and guards matched
2702: wave64 bfm vcc 16,0 SCC=0: both groups and guards matched
2702: wave64 bfm vcc 32,32 SCC=1: both groups and guards matched
2702: wave64 bfm vcc 20,24 SCC=0: both groups and guards matched
2702: wave64 bfm vcc 64,0 SCC=1: both groups and guards matched
2/5 Test #2702: native_s_bfm_b64_vcc_hardware ...... Passed 2.99 sec
test 2713
Start 2713: native_salu64_controls

2713: Test command: C:\Users\Ammar.gemini\antigravity\scratch\Xbox2Windows-wt\win-verify\out\pe-env\Scripts\python.exe "-B" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/tests/native_salu64_check.py" "controls" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/release/compile_dxil.exe" "C:/Program Files (x86)/Windows Kits/10/bin/10.0.26100.0/x64"
2713: Working Directory: C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/release
2713: Test timeout computed to be: 60
2713: invalid s_cselect_b64 destination
2713: invalid s_not_b64 source
3/5 Test #2713: native_salu64_controls ............. Passed 0.20 sec
test 2714
Start 2714: native_salu64_hardware

2714: Test command: C:\Users\Ammar.gemini\antigravity\scratch\Xbox2Windows-wt\win-verify\out\pe-env\Scripts\python.exe "-B" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/tests/native_salu64_check.py" "hardware" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/release/native_store_replay.exe" "C:/Program Files (x86)/Windows Kits/10/bin/10.0.26100.0/x64"
2714: Working Directory: C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/release
2714: Test timeout computed to be: 60
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2714: adapter_luid=00000000:00bc4037
2714: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2714: driver=32.0.15.9186
2714: 0 32 7 4 1
2714: bfm 0,0: result words, SCC and guards matched
2714: bfm 1,0: result words, SCC and guards matched
2714: bfm 31,1: result words, SCC and guards matched
2714: bfm 32,32: result words, SCC and guards matched
2714: bfm 33,0: result words, SCC and guards matched
2714: bfm 63,1: result words, SCC and guards matched
2714: bfm 64,0: result words, SCC and guards matched
2714: cselect pair,-1 SCC=0: result words, SCC and guards matched
2714: cselect literal,pair SCC=0: result words, SCC and guards matched
2714: cselect pair,-1 SCC=1: result words, SCC and guards matched
2714: cselect literal,pair SCC=1: result words, SCC and guards matched
2714: not (2309737967, 19088743): result words, SCC and guards matched
2714: not (0, 0): result words, SCC and guards matched
2714: not (4294967295, 4294967295): result words, SCC and guards matched
2714: not (4294967295, 0): result words, SCC and guards matched
4/5 Test #2714: native_salu64_hardware ............. Passed 4.67 sec
test 2761
Start 2761: native_wave64_exec_salu_hardware

2761: Test command: C:\Users\Ammar.gemini\antigravity\scratch\Xbox2Windows-wt\win-verify\out\pe-env\Scripts\python.exe "-B" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/tests/native_wave64_exec_salu_check.py" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/release/compile_dxil.exe" "C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/release/native_store_replay.exe" "C:/Program Files (x86)/Windows Kits/10/bin/10.0.26100.0/x64"
2761: Working Directory: C:/Users/Ammar/.gemini/antigravity/scratch/Xbox2Windows-wt/win-verify/out/build/release
2761: Test timeout computed to be: 60
2761: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2761: adapter_luid=00000000:00bc4037
2761: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2761: driver=32.0.15.9186
2761: 0 32 7 4 1
2761: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2761: adapter_luid=00000000:00bc4037
2761: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2761: driver=32.0.15.9186
2761: 0 32 7 4 1
2761: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2761: adapter_luid=00000000:00bc4037
2761: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2761: driver=32.0.15.9186
2761: 0 32 7 4 1
2761: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2761: adapter_luid=00000000:00bc4037
2761: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2761: driver=32.0.15.9186
2761: 0 32 7 4 1
2761: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2761: adapter_luid=00000000:00bc4037
2761: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2761: driver=32.0.15.9186
2761: 0 32 7 4 1
2761: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2761: adapter_luid=00000000:00bc4037
2761: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2761: driver=32.0.15.9186
2761: 0 32 7 4 1
2761: device adapter 10de:28e1 NVIDIA GeForce RTX 4050 Laptop GPU
2761: adapter_luid=00000000:00bc4037
2761: adapter=NVIDIA GeForce RTX 4050 Laptop GPU vendor=10de device=28e1
2761: driver=32.0.15.9186
2761: 0 32 7 4 1
2761: wave64, 64 threads, count: both groups and guards matched
2761: wave64, 64 threads, lower: both groups and guards matched
2761: wave64, 64 threads, upper: both groups and guards matched
2761: wave64, 128 threads, count: both groups and guards matched
2761: wave64, 128 threads, lower: both groups and guards matched
2761: wave64, 128 threads, upper: both groups and guards matched
2761: wave32, 32 threads, count: both groups and guards matched
5/5 Test #2761: native_wave64_exec_salu_hardware ... Passed 2.70 sec

The following tests passed:
native_s_bfm_b64_vcc_controls
native_s_bfm_b64_vcc_hardware
native_salu64_controls
native_salu64_hardware
native_wave64_exec_salu_hardware

100% tests passed, 0 tests failed out of 5

Total Test time (real) = 11.44 sec
``

@Ammmae0x
Ammmae0x marked this pull request as ready for review November 28, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant