Tests: format_bytes agrees with the driver's element size, and gfx10_format inverts dxgi_format #543

Open
MesshM wants to merge 1 commit from upstream-pr/548 into main
MesshM commented 2026-11-24 01:37:45 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by MesshM on 2026-11-24T01:37:45Z.


gpu::desc::format_bytes has no test. Typed buffer views take their element stride from it (real::buffer_words_at and the V# path next to it), so a wrong entry gives a title's typed buffer loads the wrong stride. This adds an integration test that checks it against the PC driver on the same machine, plus a check that gfx10_format inverts dxgi_format. Test-only: nothing under crates/xcl/src changes.

What is in it

  • crates/xcl/tests/format_bytes_driver.rs:
    • format_bytes_matches_the_drivers_element_size: for every GFX10 format 0–77 (the range format_bytes documents) that dxgi_format maps, format_bytes equals the element size of a 64-texel row from the device's GetCopyableFootprints in that DXGI format. Skips with skip_test("no GPU") when no device can be made.
    • gfx10_format_inverts_dxgi_format: for every format 0–255 that dxgi_format maps, gfx10_format gives it back (no two GFX10 formats share a DXGI one). No device needed.

Tested

  • AMD Radeon RX 9060 XT 16 GB (RDNA4), driver 32.0.32029.2010; Ryzen 7 5700X, 64 GB RAM, Windows 11 Pro build 26200, Rust 1.100.0 stable-x86_64-pc-windows-msvc, debug
  • .\scripts\test.ps1 (cargo build --workspace + cargo test --workspace -- --test-threads=4) on main 7ebf1b8 + this file: 679 passed, 0 failed, 41 ignored, exit code 0; 0 SKIPPED
  • cargo test -p xcl --test format_bytes_driver: 2 passed; 42 formats of 0–77 checked against the driver, all equal
  • with format_bytes's 7..=19 => 2 changed to => 1 (not committed), the test fails and names each 16-bit format (format 7 (DXGI_FORMAT(56)): format_bytes 1, driver 2; …)

Regression run

  • Not needed: the change is a new file under crates/xcl/tests/; xcl.exe does not change.

Not tested

  • NVIDIA / Intel / WARP (the CI runner): the element sizes come from the DXGI format, so they should not differ, but this was only run on AMD.
  • Outside 0–77 the test checks nothing, on purpose: there format_bytes falls back to 4, while the driver gives 2 for B5G6R5 / B5G5R5A1 / B4G4R4A4 (133, 135, 136) and 8 or 16 bytes per 4x4 block for BC1–BC7 (169–182). BC formats cannot be buffer formats, and 16-bit packed typed buffer views are unusual; the use where these formats do come up is real::texture_memory, which sizes the address space it reserves for a committed texture from it, so a BC texture gets 4–8 times the space it needs and a very large one can pass the 1 GiB limit there. That is a runtime change, so not in this PR.

AI use

  • Claude Code with Claude Opus 5.5: found the gap, wrote the test and this description, ran the tests and the mutation check above. I read the diff and the results before opening the PR.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:issue:5464422179 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/548). Originally posted by [MesshM](https://github.com/MesshM) on 2026-11-24T01:37:45Z. --- `gpu::desc::format_bytes` has no test. Typed buffer views take their element stride from it (`real::buffer_words_at` and the V# path next to it), so a wrong entry gives a title's typed buffer loads the wrong stride. This adds an integration test that checks it against the PC driver on the same machine, plus a check that `gfx10_format` inverts `dxgi_format`. Test-only: nothing under `crates/xcl/src` changes. **What is in it** - `crates/xcl/tests/format_bytes_driver.rs`: - `format_bytes_matches_the_drivers_element_size`: for every GFX10 format 0–77 (the range `format_bytes` documents) that `dxgi_format` maps, `format_bytes` equals the element size of a 64-texel row from the device's `GetCopyableFootprints` in that DXGI format. Skips with `skip_test("no GPU")` when no device can be made. - `gfx10_format_inverts_dxgi_format`: for every format 0–255 that `dxgi_format` maps, `gfx10_format` gives it back (no two GFX10 formats share a DXGI one). No device needed. **Tested** - AMD Radeon RX 9060 XT 16 GB (RDNA4), driver 32.0.32029.2010; Ryzen 7 5700X, 64 GB RAM, Windows 11 Pro build 26200, Rust 1.100.0 `stable-x86_64-pc-windows-msvc`, debug - `.\scripts\test.ps1` (`cargo build --workspace` + `cargo test --workspace -- --test-threads=4`) on `main` `7ebf1b8` + this file: **679 passed, 0 failed, 41 ignored**, exit code 0; 0 `SKIPPED` - `cargo test -p xcl --test format_bytes_driver`: 2 passed; 42 formats of 0–77 checked against the driver, all equal - with `format_bytes`'s `7..=19 => 2` changed to `=> 1` (not committed), the test fails and names each 16-bit format (`format 7 (DXGI_FORMAT(56)): format_bytes 1, driver 2; …`) **Regression run** - Not needed: the change is a new file under `crates/xcl/tests/`; `xcl.exe` does not change. **Not tested** - NVIDIA / Intel / WARP (the CI runner): the element sizes come from the DXGI format, so they should not differ, but this was only run on AMD. - Outside 0–77 the test checks nothing, on purpose: there `format_bytes` falls back to 4, while the driver gives 2 for B5G6R5 / B5G5R5A1 / B4G4R4A4 (133, 135, 136) and 8 or 16 bytes per 4x4 block for BC1–BC7 (169–182). BC formats cannot be buffer formats, and 16-bit packed typed buffer views are unusual; the use where these formats do come up is `real::texture_memory`, which sizes the address space it reserves for a committed texture from it, so a BC texture gets 4–8 times the space it needs and a very large one can pass the 1 GiB limit there. That is a runtime change, so not in this PR. **AI use** - Claude Code with Claude Opus 5.5: found the gap, wrote the test and this description, ran the tests and the mutation check above. I read the diff and the results before opening the PR. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
copilot-pull-request-reviewer[bot] commented 2026-11-24 01:58:37 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-24T01:58:37Z.

Review: COMMENTED


Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

<!-- greyfinch-sync:ivall/xcl:review:6032492415 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/548#pullrequestreview-6032492415). Originally posted by [copilot-pull-request-reviewer[bot]](https://github.com/apps/copilot-pull-request-reviewer) on 2026-11-24T01:58:37Z. **Review:** COMMENTED --- Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
thehollowedone commented 2026-11-24 07:05:20 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-24T01:41:44Z.


Tested

Both focused tests passed on Windows 11 build 26300 with the RTX 3080 Ti (621.35), Ryzen 7 9800X3D and Rust 1.99.1 MSVC, debug. With XCL_REQUIRE_GPU=1, cargo test --offline --locked -p xcl --test format_bytes_driver -- --test-threads=1 --nocapture reported 2 passed, 0 failed, 0 ignored and no runtime skips. The mapped formats in the tested 0–77 range matched the driver’s row element sizes. The inverse-format test also passed. Tested commit 0e71923

Not tested

Full workspace, retail titles, Intel, WARP, and driver element sizes for formats outside the fixture’s range.

AI use

Codex with GPT-6.2 Sol ran the tests and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7119355417 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/548#issuecomment-7119355417). Originally posted by [thehollowedone](https://github.com/thehollowedone) on 2026-11-24T01:41:44Z. --- **Tested** Both focused tests passed on Windows 11 build 26300 with the RTX 3080 Ti (621.35), Ryzen 7 9800X3D and Rust 1.99.1 MSVC, debug. With `XCL_REQUIRE_GPU=1`, `cargo test --offline --locked -p xcl --test format_bytes_driver -- --test-threads=1 --nocapture` reported 2 passed, 0 failed, 0 ignored and no runtime skips. The mapped formats in the tested 0–77 range matched the driver’s row element sizes. The inverse-format test also passed. [Tested commit 0e71923](https://github.com/ivall/xcl/commit/0e71923f0732dbc79f87764ea321aa8bdbf38e30) **Not tested** Full workspace, retail titles, Intel, WARP, and driver element sizes for formats outside the fixture’s range. **AI use** Codex with GPT-6.2 Sol ran the tests and drafted this report.
MonkeyPython commented 2026-11-24 07:05:30 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by MonkeyPython on 2026-11-24T02:11:00Z.


NVIDIA data point (the "NVIDIA / Intel / WARP" gap): format_bytes agrees with the driver's element sizes on an RTX 3080 Ti.

Setup: Windows 11 Pro 26300, Ryzen 7 7800X3D, 32 GB, RTX 3080 Ti 12 GB (driver 621.01), PR head 0e71923, release build.

Runs:

  • cargo test -p xcl --release --test format_bytes_driver -- --test-threads=4: 2 passed / 0 failed / 0 ignored in 0.22 s, no internal skips — the console-format-vs-GetCopyableFootprints comparison (formats 0–77 with a DXGI counterpart, test asserts ≥ 40 checked) holds on NVIDIA.
  • Whole workspace suite at this head: 679 passed / 0 failed / 41 ignored, 2 internal SKIPPED (gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware — the wave64 pair on this wave32-only adapter).

Not tested: Intel, WARP (no CI-runner access from this host).

AI use: Gentle Shell (Pi coding agent), model qwen4-max: ran the tests and wrote this report from the logs; a human reviews it before posting. No code changes.

<!-- greyfinch-sync:ivall/xcl:comment:7119838682 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/548#issuecomment-7119838682). Originally posted by [MonkeyPython](https://github.com/MonkeyPython) on 2026-11-24T02:11:00Z. --- NVIDIA data point (the "NVIDIA / Intel / WARP" gap): `format_bytes` agrees with the driver's element sizes on an RTX 3080 Ti. **Setup:** Windows 11 Pro 26300, Ryzen 7 7800X3D, 32 GB, RTX 3080 Ti 12 GB (driver 621.01), PR head `0e71923`, release build. **Runs:** - `cargo test -p xcl --release --test format_bytes_driver -- --test-threads=4`: **2 passed / 0 failed / 0 ignored** in 0.22 s, no internal skips — the console-format-vs-`GetCopyableFootprints` comparison (formats 0–77 with a DXGI counterpart, test asserts ≥ 40 checked) holds on NVIDIA. - Whole workspace suite at this head: **679 passed / 0 failed / 41 ignored**, 2 internal `SKIPPED` (`gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware` — the wave64 pair on this wave32-only adapter). **Not tested:** Intel, WARP (no CI-runner access from this host). **AI use:** Gentle Shell (Pi coding agent), model qwen4-max: ran the tests and wrote this report from the logs; a human reviews it before posting. No code changes.
JoaoPauluu commented 2026-11-24 07:06:01 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JoaoPauluu on 2026-11-24T03:50:33Z.


Test report: #548 under Wine with vkd3d-proton as the host driver (Linux, NVIDIA)

The other runs here are native Windows drivers. Under Wine, the host driver this test compares XCL with is vkd3d-proton (D3D12 on Vulkan), and the test passes there as well.

Setup

  • CachyOS, kernel 7.3.3-1-cachyos, Intel i5-10400F, 16 GB RAM, NVIDIA GeForce RTX 3060 12 GB, driver 620.70.06
  • Proton Experimental experimental-11.0-20261112 (wine-11.0), vkd3d-proton v3.1 (4522cc1a) + the patch from #257, DXVK from Proton, DXVK_CONFIG="dxgi.hideNvidiaGpu = False"
  • Rust 1.100.0, x86_64-pc-windows-gnu (mingw-w64-gcc 16.2.0), debug build of this PR's head 0e71923

Result: format_bytes_driver test binary under Wine, --test-threads=1: 2 passed, 0 failed, 0 ignored (one run).

  • format_bytes_matches_the_drivers_element_size, gfx10_format_inverts_dxgi_format: ok

Not tested

  • Windows, AMD, other Wine / vkd3d-proton versions; the rest of the suite on this branch; a title run (test-only PR)

AI use: Claude Code (Claude Opus 5.5) built the test, ran it on the machine above and wrote this report. The results are pasted from those runs. The account owner asked for test reports to be posted while they were away and has not reviewed this one.

<!-- greyfinch-sync:ivall/xcl:comment:7121472757 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/548#issuecomment-7121472757). Originally posted by [JoaoPauluu](https://github.com/JoaoPauluu) on 2026-11-24T03:50:33Z. --- ### Test report: #548 under Wine with vkd3d-proton as the host driver (Linux, NVIDIA) The other runs here are native Windows drivers. Under Wine, the host driver this test compares XCL with is vkd3d-proton (D3D12 on Vulkan), and the test passes there as well. **Setup** - CachyOS, kernel 7.3.3-1-cachyos, Intel i5-10400F, 16 GB RAM, NVIDIA GeForce RTX 3060 12 GB, driver 620.70.06 - Proton Experimental `experimental-11.0-20261112` (wine-11.0), vkd3d-proton v3.1 (`4522cc1a`) + the patch from #257, DXVK from Proton, `DXVK_CONFIG="dxgi.hideNvidiaGpu = False"` - Rust 1.100.0, `x86_64-pc-windows-gnu` (mingw-w64-gcc 16.2.0), debug build of this PR's head `0e71923` **Result:** `format_bytes_driver` test binary under Wine, `--test-threads=1`: 2 passed, 0 failed, 0 ignored (one run). - `format_bytes_matches_the_drivers_element_size`, `gfx10_format_inverts_dxgi_format`: ok **Not tested** - Windows, AMD, other Wine / vkd3d-proton versions; the rest of the suite on this branch; a title run (test-only PR) **AI use:** Claude Code (Claude Opus 5.5) built the test, ran it on the machine above and wrote this report. The results are pasted from those runs. The account owner asked for test reports to be posted while they were away and has not reviewed this one.
JJAutoCompare commented 2026-11-25 07:05:42 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T06:55:43Z.


Empirical test report (0e71923f)

Independent Intel Arc A770 D3D12 verification of PR #548 at detached head 0e71923f0732dbc79f87764ea321aa8bdbf38e30 (clean worktree).

Hardware / environment

  • Intel Arc A770 Graphics (driver 32.0.101.9175), AMD Ryzen 7 3800X, Windows 11 Enterprise Evaluation x64 build 26200.9974.
  • rustc 1.100.0 (0ef1bc386 2026-11-09) (x86_64-pc-windows-msvc), DXC 1.9.2609.5 (01b62ad47), unoptimized Cargo test profile with debug info and incremental compilation disabled.

Commands and results

  • Located prebuilt integration test binary via cargo test -p xcl --tests --no-run --message-format=json outside the GPU lock.
  • Ran inside Invoke-ArcTest.ps1 with XCL_ADAPTER=A770 and RUST_TEST_NOCAPTURE=1:
    • format_parity.exe --nocapture --test-threads=1 (exit 0, 0.09s).
  • 2 passed, 0 failed, 0 ignored, 0 skipped.

Observed behavior

  • format_bytes_matches_the_drivers_element_size and gfx10_format_inverts_dxgi_format both passed on the default D3D12 adapter (Intel Arc A770 on this host).

Not tested

  • Full GPU workspace suite and game smoke runs were omitted.

AI use

Verified and published with T3 Code / Antigravity (gemini-4-neon).

<!-- greyfinch-sync:ivall/xcl:comment:7155304726 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/548#issuecomment-7155304726). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T06:55:43Z. --- ### Empirical test report (0e71923f) Independent Intel Arc A770 D3D12 verification of PR #548 at detached head `0e71923f0732dbc79f87764ea321aa8bdbf38e30` (clean worktree). **Hardware / environment** - Intel Arc A770 Graphics (driver `32.0.101.9175`), AMD Ryzen 7 3800X, Windows 11 Enterprise Evaluation x64 build `26200.9974`. - `rustc 1.100.0 (0ef1bc386 2026-11-09)` (`x86_64-pc-windows-msvc`), DXC `1.9.2609.5 (01b62ad47)`, unoptimized Cargo test profile with debug info and incremental compilation disabled. **Commands and results** - Located prebuilt integration test binary via `cargo test -p xcl --tests --no-run --message-format=json` outside the GPU lock. - Ran inside `Invoke-ArcTest.ps1` with `XCL_ADAPTER=A770` and `RUST_TEST_NOCAPTURE=1`: - `format_parity.exe --nocapture --test-threads=1` (exit 0, 0.09s). - **2 passed, 0 failed, 0 ignored, 0 skipped.** **Observed behavior** - `format_bytes_matches_the_drivers_element_size` and `gfx10_format_inverts_dxgi_format` both passed on the default D3D12 adapter (Intel Arc A770 on this host). **Not tested** - Full GPU workspace suite and game smoke runs were omitted. **AI use** Verified and published with T3 Code / Antigravity (gemini-4-neon).
DavidM1911 commented 2026-11-25 14:10:01 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T13:30:25Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7163875249 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/548#issuecomment-7163875249). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T13:30:25Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
Prime1997 commented 2026-11-26 15:12:56 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Prime1997 on 2026-11-26T15:12:56Z.

Review: COMMENTED


Focused Windows result on the current NVIDIA source: 2 passed, 0 failed, 0 ignored, 0 explicit skips.

Tested this head on an isolated merge tree with nvidia-dev af2cecc40886a8682ecf3267f5328c6dc4b66ad7. The host's physical adapter was an RTX 3060 Ti (32.0.16.1714); the element-size test uses the D3D12 default adapter. Rebuilt with cargo test --locked -p xcl --test format_bytes_driver --no-run. Both named tests ran separately with --test-threads=1 --nocapture, with one filtered out on each invocation.

The driver check covered at least 40 mapped formats in 0–77. The CPU fixture checked reverse mappings across 0–255. The test does not log a device LUID or the exact driver comparison count. This gives useful independent coverage beyond the API footprint tests in #694 and #1808. Current main accepts the test file cleanly. Windows CI was awaiting approval at review time; these local results cover the two new fixtures.

AI use: Codex (GPT-6) reviewed the pinned changes and verified the reported evidence. Optional temporary Discord for coordinating contributor work, testing, and comparing results.

<!-- greyfinch-sync:ivall/xcl:review:6076547461 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/548#pullrequestreview-6076547461). Originally posted by [Prime1997](https://github.com/Prime1997) on 2026-11-26T15:12:56Z. **Review:** COMMENTED --- **Focused Windows result on the current NVIDIA source: 2 passed, 0 failed, 0 ignored, 0 explicit skips.** Tested this head on an isolated merge tree with `nvidia-dev` `af2cecc40886a8682ecf3267f5328c6dc4b66ad7`. The host's physical adapter was an RTX 3060 Ti (32.0.16.1714); the element-size test uses the D3D12 default adapter. Rebuilt with `cargo test --locked -p xcl --test format_bytes_driver --no-run`. Both named tests ran separately with `--test-threads=1 --nocapture`, with one filtered out on each invocation. The driver check covered at least 40 mapped formats in 0–77. The CPU fixture checked reverse mappings across 0–255. The test does not log a device LUID or the exact driver comparison count. This gives useful independent coverage beyond the API footprint tests in #694 and #1808. Current main accepts the test file cleanly. Windows CI was awaiting approval at review time; these local results cover the two new fixtures. AI use: Codex (GPT-6) reviewed the pinned changes and verified the reported evidence. Optional temporary [Discord](https://discord.gg/gK3y7WRRY) for coordinating contributor work, testing, and comparing results.
thehollowedone commented 2026-11-28 09:04:00 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-28T09:04:00Z.


merge-check
base: e429936c10
head: 0e71923f07
merge: clean; the merge adds only crates/xcl/tests/format_bytes_driver.rs (64 lines). No runtime source changes.
build: cargo build --offline --locked -j 4 --workspace -> ok on the trial merge.
tests: cargo test --offline --locked -j 4 -p xcl --test format_bytes_driver -- --nocapture -> 2 passed, 0 failed, 0 ignored, 0 skips on the RTX 3080 Ti. cargo test --offline --locked -j 4 --workspace --no-fail-fast -- --test-threads=4 -> 2,124 passed, 13 failed, 48 ignored, 25 explicit SKIPPED GPU/environment notices. The 11 recurring failures also occurred in my untouched-main control with the same command on main e429936c. Two additional list_x tests failed here when D3D12 resource creation returned 0x8007000E under full-suite load: cross_queue_cycle_and_same_queue_fifo_do_not_deadlock and write_buffer_immediate_on_open_existing_heap_visible_to_cpu. Each passed when rerun alone on the same trial merge (1/1 each). The two new format tests passed in both the focused and workspace runs. The two-pass cache test spawns a child whose failure summary appears twice in Cargo's log; counts above count the outer test once. This machine's full suite is not green.
review: no source-level finding in the full one-file diff. The driver comparison uses GetCopyableFootprints' unaligned row-size output for a 64-texel uncompressed row, rather than its aligned row pitch. It checks mapped formats 0–77 and requires at least 40 mappings; the inverse-mapping test checks mapped formats 0–255. It deliberately does not claim packed/BC format coverage outside 0–77. The new test skips when D3D12 device creation fails; a skip is not coverage.
performance: test-only; no title runtime path or persistent memory changes. The two focused tests finished in 0.33 s on this machine. No frame-time claim.
verdict: safe to merge relative to main e429936c: the new tests pass, the trial merge adds no runtime code, and the two extra suite failures were resource-exhaustion errors that passed in isolation. The 11 baseline failures remain and this is not a green-suite claim.
hardware / tool and model: Windows 11 build 26300, Ryzen 7 9800X3D, NVIDIA RTX 3080 Ti driver 621.35, DXC 1.8.2502.11; Codex (GPT-6.2 Sol) reviewed the diff, merged, built, and ran the tests.

<!-- greyfinch-sync:ivall/xcl:comment:7236990349 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/548#issuecomment-7236990349). Originally posted by [thehollowedone](https://github.com/thehollowedone) on 2026-11-28T09:04:00Z. --- merge-check base: e429936c10a5b8aa09470ff99dfc8c8d3d8c56fd head: 0e71923f0732dbc79f87764ea321aa8bdbf38e30 merge: clean; the merge adds only `crates/xcl/tests/format_bytes_driver.rs` (64 lines). No runtime source changes. build: `cargo build --offline --locked -j 4 --workspace` -> ok on the trial merge. tests: `cargo test --offline --locked -j 4 -p xcl --test format_bytes_driver -- --nocapture` -> 2 passed, 0 failed, 0 ignored, 0 skips on the RTX 3080 Ti. `cargo test --offline --locked -j 4 --workspace --no-fail-fast -- --test-threads=4` -> 2,124 passed, 13 failed, 48 ignored, 25 explicit `SKIPPED` GPU/environment notices. The 11 recurring failures also occurred in my untouched-main control with the same command on [main `e429936c`](https://github.com/xcl-dev/xcl/pull/2119#issuecomment-7236880027). Two additional `list_x` tests failed here when D3D12 resource creation returned `0x8007000E` under full-suite load: `cross_queue_cycle_and_same_queue_fifo_do_not_deadlock` and `write_buffer_immediate_on_open_existing_heap_visible_to_cpu`. Each passed when rerun alone on the same trial merge (1/1 each). The two new format tests passed in both the focused and workspace runs. The two-pass cache test spawns a child whose failure summary appears twice in Cargo's log; counts above count the outer test once. This machine's full suite is not green. review: no source-level finding in the full one-file diff. The driver comparison uses `GetCopyableFootprints`' unaligned row-size output for a 64-texel uncompressed row, rather than its aligned row pitch. It checks mapped formats 0–77 and requires at least 40 mappings; the inverse-mapping test checks mapped formats 0–255. It deliberately does not claim packed/BC format coverage outside 0–77. The new test skips when D3D12 device creation fails; a skip is not coverage. performance: test-only; no title runtime path or persistent memory changes. The two focused tests finished in 0.33 s on this machine. No frame-time claim. verdict: safe to merge relative to main `e429936c`: the new tests pass, the trial merge adds no runtime code, and the two extra suite failures were resource-exhaustion errors that passed in isolation. The 11 baseline failures remain and this is not a green-suite claim. hardware / tool and model: Windows 11 build 26300, Ryzen 7 9800X3D, NVIDIA RTX 3080 Ti driver 621.35, DXC 1.8.2502.11; Codex (GPT-6.2 Sol) reviewed the diff, merged, built, and ran the tests.
throny commented 2026-11-28 13:22:51 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-28T13:22:51Z.


merge-check claim
head: 0e71923f07

<!-- greyfinch-sync:ivall/xcl:comment:7239894397 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/548#issuecomment-7239894397). Originally posted by [throny](https://github.com/throny) on 2026-11-28T13:22:51Z. --- merge-check claim head: 0e71923f0732dbc79f87764ea321aa8bdbf38e30
throny commented 2026-11-28 13:38:30 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-28T13:38:30Z.


merge-check
base: e429936c
head: 0e71923f07
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2128 passed, 9 failed, 48 ignored; its two tests ran and passed here (26 SKIPPED lines). The 9 failures are main's own at e429936c on this GPU (#3093), the same set with and without this PR; base alone: 2126 passed, 9 failed, 48 ignored.
review: none; test-only (one new file). The first test needs any D3D12 device and calls skip_test without one; the second uses the CPU only. Everything it calls is public on main.
performance: none.
verdict: safe to merge
hardware / tool and model: RTX 4080 16 GB (621.40), i9-12900K, Windows 11 26300, Rust 1.100.0, debug. Claude Code; merge, build and suite run by Claude Fable 5.2, diff review by Claude Opus 5.5 (every hunk read; nothing run on the GPU beyond the suite).

<!-- greyfinch-sync:ivall/xcl:comment:7240079750 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/548#issuecomment-7240079750). Originally posted by [throny](https://github.com/throny) on 2026-11-28T13:38:30Z. --- merge-check base: e429936c head: 0e71923f0732dbc79f87764ea321aa8bdbf38e30 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2128 passed, 9 failed, 48 ignored; its two tests ran and passed here (26 SKIPPED lines). The 9 failures are main's own at e429936c on this GPU (#3093), the same set with and without this PR; base alone: 2126 passed, 9 failed, 48 ignored. review: none; test-only (one new file). The first test needs any D3D12 device and calls skip_test without one; the second uses the CPU only. Everything it calls is public on main. performance: none. verdict: safe to merge hardware / tool and model: RTX 4080 16 GB (621.40), i9-12900K, Windows 11 26300, Rust 1.100.0, debug. Claude Code; merge, build and suite run by Claude Fable 5.2, diff review by Claude Opus 5.5 (every hunk read; nothing run on the GPU beyond the suite).
Foniass commented 2026-12-01 03:41:54 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T03:41:54Z.


Triage (#1607) – head 0e71923

No open or merged PR adds these tests; #1165 and #1432 change format_bytes / the format table in desc.rs itself. The driver check stays within formats 0-77, so it does not depend on #1165's fix for 133-136. No problems found in the diff.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7299972425 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/548#issuecomment-7299972425). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T03:41:54Z. --- **Triage (#1607)** – head 0e71923 No open or merged PR adds these tests; #1165 and #1432 change `format_bytes` / the format table in desc.rs itself. The driver check stays within formats 0-77, so it does not depend on #1165's fix for 133-136. No problems found in the diff. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/548:upstream-pr/548'
git switch 'upstream-pr/548'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/548'
git switch 'upstream-pr/548'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/548'
git switch 'upstream-pr/548'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/548'
git switch 'main'
git merge --squash 'upstream-pr/548'
git switch 'main'
git merge --ff-only 'upstream-pr/548'
git switch 'main'
git merge 'upstream-pr/548'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!543
No description provided.