[removed by author] #1639

Closed
shortside wants to merge 4 commits from upstream-pr/1649 into main
shortside commented 2026-11-24 18:41:33 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by shortside on 2026-11-24T18:41:33Z.


[removed by author]

<!-- greyfinch-sync:ivall/xcl:issue:5478188792 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1649). Originally posted by [shortside](https://github.com/shortside) on 2026-11-24T18:41:33Z. --- [removed by author]
Ahmet-Dedeler commented 2026-11-24 21:08:41 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Ahmet-Dedeler on 2026-11-24T19:13:50Z.


Thanks for taking this one. Keep the flag here, that's the better order. My vtable branch isn't open as a PR yet and it's still on 508a0c7, so it's easier for me to rebase it onto this than for you to wait on it. When I open it, class_for will read NATIVE_HOST_MEMORY from where you put it.

One thing to say clearly in the description, since reviewers on Windows will ask: losing the stencil plane is a real cost and not only a format rename. The title writes material numbers through the stencil plane of some depth targets and tests against them later, so on this host those passes read depth where they expect stencil. That's a known limit of this mapping and not something this PR should try to fix, but it's worth one line under what it does not do.

I can't add a Windows pair. A Mac pair with a title from my port has to wait for its next rebase.

<!-- greyfinch-sync:ivall/xcl:comment:7141791065 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1649#issuecomment-7141791065). Originally posted by [Ahmet-Dedeler](https://github.com/Ahmet-Dedeler) on 2026-11-24T19:13:50Z. --- Thanks for taking this one. Keep the flag here, that's the better order. My vtable branch isn't open as a PR yet and it's still on 508a0c7, so it's easier for me to rebase it onto this than for you to wait on it. When I open it, `class_for` will read `NATIVE_HOST_MEMORY` from where you put it. One thing to say clearly in the description, since reviewers on Windows will ask: losing the stencil plane is a real cost and not only a format rename. The title writes material numbers through the stencil plane of some depth targets and tests against them later, so on this host those passes read depth where they expect stencil. That's a known limit of this mapping and not something this PR should try to fix, but it's worth one line under what it does not do. I can't add a Windows pair. A Mac pair with a title from my port has to wait for its next rebase.
papasmurph0 commented 2026-11-24 21:09:18 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by papasmurph0 on 2026-11-24T20:08:41Z.


Regression run for this PR on Windows / NVIDIA, since it has no xcl-smoke pair yet.

Tested

  • NVIDIA GeForce RTX 4080 SUPER (driver 32.0.16.1088), Ryzen 7 7800X3D, 64 GB RAM, Windows 11 build 26200, rustc 1.100.0 MSVC, release; scripts/smoke.ps1 -Seconds 60 on the retail title of #505 (game folder passed as a neutral junction, hence title: t1), each build from a clean worktree of the exact commit.

main:

xcl-smoke v1
commit: 85e38262ff94aecd75d6f83fa8156a8b7697bd13
gpu: NVIDIA GeForce RTX 4080 SUPER
title: t1
seconds: 60
exit: 0x0
frames shown: 1333 (PresentX 1333)
presents per 2 s (last 3): 11 21 49
device removals: 0
crashes: 0
peak commit: 25722 MB

this PR:

xcl-smoke v1
commit: fcdb447f60ffbed10c2f7eb89494823ca80c8ebb
gpu: NVIDIA GeForce RTX 4080 SUPER
title: t1
seconds: 60
exit: 0x0
frames shown: 1614 (PresentX 1614)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15812 MB

Both runs started from the same state (the title's settings already saved, so no first-run screens). The PR's run is within the limits: 121 % of main's frames, 61 % of its peak commit, no crash, no device removal.

Not tested: the change itself: on Windows the host's D3D12 is a PE module, so the depth + stencil mapping is never switched on here (as the description says) and the run is a regression check only. D3DMetal and stencil behaviour there are not covered.

AI use: Claude Code (Claude Opus 5.5) built the trees, made the runs on my PC and wrote this report; I asked for it to be posted.

<!-- greyfinch-sync:ivall/xcl:comment:7143102721 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1649#issuecomment-7143102721). Originally posted by [papasmurph0](https://github.com/papasmurph0) on 2026-11-24T20:08:41Z. --- Regression run for this PR on Windows / NVIDIA, since it has no `xcl-smoke` pair yet. **Tested** - NVIDIA GeForce RTX 4080 SUPER (driver 32.0.16.1088), Ryzen 7 7800X3D, 64 GB RAM, Windows 11 build 26200, rustc 1.100.0 MSVC, release; `scripts/smoke.ps1 -Seconds 60` on the retail title of #505 (game folder passed as a neutral junction, hence `title: t1`), each build from a clean worktree of the exact commit. `main`: ``` xcl-smoke v1 commit: 85e38262ff94aecd75d6f83fa8156a8b7697bd13 gpu: NVIDIA GeForce RTX 4080 SUPER title: t1 seconds: 60 exit: 0x0 frames shown: 1333 (PresentX 1333) presents per 2 s (last 3): 11 21 49 device removals: 0 crashes: 0 peak commit: 25722 MB ``` this PR: ``` xcl-smoke v1 commit: fcdb447f60ffbed10c2f7eb89494823ca80c8ebb gpu: NVIDIA GeForce RTX 4080 SUPER title: t1 seconds: 60 exit: 0x0 frames shown: 1614 (PresentX 1614) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15812 MB ``` Both runs started from the same state (the title's settings already saved, so no first-run screens). The PR's run is within the limits: 121 % of `main`'s frames, 61 % of its peak commit, no crash, no device removal. **Not tested:** the change itself: on Windows the host's D3D12 is a PE module, so the depth + stencil mapping is never switched on here (as the description says) and the run is a regression check only. D3DMetal and stencil behaviour there are not covered. AI use: Claude Code (Claude Opus 5.5) built the trees, made the runs on my PC and wrote this report; I asked for it to be posted.
DavidM1911 commented 2026-11-24 21:09:54 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T21:06:58Z.


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

  • cargo test -p xcl --lib: all passed, 0 failed, ~22 ignored. (Intermittent single-test flake under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodified main.)

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7144496166 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1649#issuecomment-7144496166). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-24T21:06:58Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~22 ignored. (Intermittent single-test flake under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodified `main`.) Thanks!
JJAutoCompare commented 2026-11-25 05:08:26 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T04:49:21Z.


XCL PR #1649 — Windows / Intel Arc A770

Clean head fcdb447f60ffbed10c2f7eb89494823ca80c8ebb on STOR-WINLAB. Windows 11 Enterprise Evaluation x64 (build 26200), AMD Family 23 Model 113, Intel Arc A770 (driver 32.0.101.9175), DXC 1.9.2609.5, rustc 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc). Unoptimized dev/test builds, no debuginfo or incremental compilation.

Tested

  • cargo build --workspace and cargo test --workspace --no-run both exited 0 outside the Arc mutex.
  • CPU-only focused commands (each 1 passed, 0 failed, 0 ignored, 0 skipped) ran outside the mutex with XCL_ADAPTER=NONE_CPU_ONLY:
cargo test -p xcl --lib hle::d3d12x::device_x::tests::console_depth_buffers_and_their_views_are_the_pcs -- --exact
cargo test -p xcl --lib hle::d3d12x::device_x::tests::depth_stencil_families_become_the_r32_family -- --exact
cargo test -p xcl --lib hle::d3d12x::real::console_format_query_tests::console_formats_are_asked_as_the_pcs -- --exact

Tests covered forced native-host R32 resource, shader-view and depth-view mappings, including stencil views reading depth. Windows assertions covered D16S8-to-D24S8 mapping, stencil plane selection and format-query translation.

  • cargo test --workspace --no-fail-fast -- --test-threads=4 ran once via Invoke-ArcTest.ps1 -WaitMinutes 120 with XCL_ADAPTER=A770 and RUST_TEST_NOCAPTURE=1. Arc A770 confirmed in the log. Exit 101. The 20 summaries (19 binaries and one doctest target) totaled 761 harness passes, 16 failures, 41 ignored. The three focused tests passed again.

Workspace failures and skips

  • 15 GPU recompiler failures. Eleven reported CreateComputePipelineState error 0x80070057. Four reported mismatches in fused FMA overflow, implicit-LOD sampling, the high half of v_add_f16, or wave64 pixel reductions.
  • One test-title e2e failure. The RSSetDepthBiasX check returned blue where it expected green.
  • Six exact SKIPPED lines in pr1649-suite.log. Two cited missing wave64, two cited missing debug-layer support, one cited tiled tier below 2, and one cited unavailable heap windows. The harness counts all six as passes. Coverage excludes them.

Not tested

Apple D3DMetal/Wine, native-host detection and depth/stencil view creation on that backend, other GPUs, and retail title smoke runs. Failure attribution requires a matched main run.

AI use

T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr1649-suite.log and published.

<!-- greyfinch-sync:ivall/xcl:comment:7153195220 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1649#issuecomment-7153195220). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T04:49:21Z. --- # XCL PR #1649 — Windows / Intel Arc A770 Clean head `fcdb447f60ffbed10c2f7eb89494823ca80c8ebb` on STOR-WINLAB. Windows 11 Enterprise Evaluation x64 (build 26200), AMD Family 23 Model 113, Intel Arc A770 (driver 32.0.101.9175), DXC 1.9.2609.5, rustc 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc). Unoptimized dev/test builds, no debuginfo or incremental compilation. **Tested** - `cargo build --workspace` and `cargo test --workspace --no-run` both exited 0 outside the Arc mutex. - CPU-only focused commands (each 1 passed, 0 failed, 0 ignored, 0 skipped) ran outside the mutex with `XCL_ADAPTER=NONE_CPU_ONLY`: ```text cargo test -p xcl --lib hle::d3d12x::device_x::tests::console_depth_buffers_and_their_views_are_the_pcs -- --exact cargo test -p xcl --lib hle::d3d12x::device_x::tests::depth_stencil_families_become_the_r32_family -- --exact cargo test -p xcl --lib hle::d3d12x::real::console_format_query_tests::console_formats_are_asked_as_the_pcs -- --exact ``` Tests covered forced native-host R32 resource, shader-view and depth-view mappings, including stencil views reading depth. Windows assertions covered D16S8-to-D24S8 mapping, stencil plane selection and format-query translation. - `cargo test --workspace --no-fail-fast -- --test-threads=4` ran once via `Invoke-ArcTest.ps1 -WaitMinutes 120` with `XCL_ADAPTER=A770` and `RUST_TEST_NOCAPTURE=1`. Arc A770 confirmed in the log. Exit 101. The 20 summaries (19 binaries and one doctest target) totaled **761 harness passes, 16 failures, 41 ignored**. The three focused tests passed again. **Workspace failures and skips** - 15 GPU recompiler failures. Eleven reported `CreateComputePipelineState` error `0x80070057`. Four reported mismatches in fused FMA overflow, implicit-LOD sampling, the high half of v_add_f16, or wave64 pixel reductions. - One test-title e2e failure. The `RSSetDepthBiasX` check returned blue where it expected green. - Six exact `SKIPPED ` lines in `pr1649-suite.log`. Two cited missing wave64, two cited missing debug-layer support, one cited tiled tier below 2, and one cited unavailable heap windows. The harness counts all six as passes. Coverage excludes them. **Not tested** Apple D3DMetal/Wine, native-host detection and depth/stencil view creation on that backend, other GPUs, and retail title smoke runs. Failure attribution requires a matched main run. **AI use** T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against `pr1649-suite.log` and published.
jennydeth commented 2026-11-25 15:07:47 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by jennydeth on 2026-11-25T14:23:33Z.


First Windows (MSVC) build and run of this head (listed under Not tested).

Setup: RTX 3060 12 GB (32-lane waves, driver 32.0.16.2101), Ryzen 5 5600X, 32 GB RAM, Windows 11 build 26300, Rust 1.100.0 stable-x86_64-pc-windows-msvc, DXC 1.9.2609.5, debug build. Head 579e0be.

Result: builds with MSVC; cargo test --workspace -- --test-threads=4: 1251 passed, 0 failed, 46 ignored. SKIPPED: 18 GPU tests for no wave64 (expected on this card); 2 debug-layer tests (no d3d12SDKLayers.dll).

Not tested: a title run on Windows.

AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this report.

<!-- greyfinch-sync:ivall/xcl:comment:7165206839 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1649#issuecomment-7165206839). Originally posted by [jennydeth](https://github.com/jennydeth) on 2026-11-25T14:23:33Z. --- First Windows (MSVC) build and run of this head (listed under Not tested). Setup: RTX 3060 12 GB (32-lane waves, driver 32.0.16.2101), Ryzen 5 5600X, 32 GB RAM, Windows 11 build 26300, Rust 1.100.0 stable-x86_64-pc-windows-msvc, DXC 1.9.2609.5, debug build. Head 579e0be. Result: builds with MSVC; cargo test --workspace -- --test-threads=4: 1251 passed, 0 failed, 46 ignored. SKIPPED: 18 GPU tests for no wave64 (expected on this card); 2 debug-layer tests (no d3d12SDKLayers.dll). Not tested: a title run on Windows. AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this report.
DavidM1911 commented 2026-11-26 06:06:50 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T05:58:13Z.


Re-verification on RTX 3060 Ti (Windows 11), new head merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.

Thanks!

— Devin

<!-- greyfinch-sync:ivall/xcl:comment:7183970110 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1649#issuecomment-7183970110). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-26T05:58:13Z. --- Re-verification on RTX 3060 Ti (Windows 11), new head merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved. Thanks! — Devin
upipibi commented 2026-11-26 16:08:34 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by upipibi on 2026-11-26T16:08:34Z.


NVIDIA test report for 579e0be: RTX 3070 8 GB (Ampere, driver 616.56), Windows 11 26100, Rust 1.100.0, debug. Head tested as-is on its base 1a0bbe3.

  • cargo test -p xcl --lib -- --skip hle::xaudio2 --test-threads=4: 1173 passed, 0 failed, 26 ignored; 24 SKIPPED: 20 no wave64, 3 lower_dxil per-lane f16 forms refused by design (#1426), 1 driver-cache test (Developer Mode off); none in files this PR changes. No native-host warning, so the mapping stayed off.
  • depth_stencil_families_become_the_r32_family, console_depth_buffers_and_their_views_are_the_pcs and console_formats_are_asked_as_the_pcs, each with --exact --test-threads=1 --nocapture, 3 runs: 3/3 passed each, 0 SKIPPED.
    Lib tests only; no title run.
    AI-assisted (Claude Code, Claude Opus 5.5).
<!-- greyfinch-sync:ivall/xcl:comment:7197238082 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1649#issuecomment-7197238082). Originally posted by [upipibi](https://github.com/upipibi) on 2026-11-26T16:08:34Z. --- NVIDIA test report for `579e0be`: RTX 3070 8 GB (Ampere, driver 616.56), Windows 11 26100, Rust 1.100.0, debug. Head tested as-is on its base `1a0bbe3`. - `cargo test -p xcl --lib -- --skip hle::xaudio2 --test-threads=4`: 1173 passed, 0 failed, 26 ignored; 24 SKIPPED: 20 `no wave64`, 3 lower_dxil per-lane f16 forms refused by design (#1426), 1 driver-cache test (Developer Mode off); none in files this PR changes. No native-host warning, so the mapping stayed off. - `depth_stencil_families_become_the_r32_family`, `console_depth_buffers_and_their_views_are_the_pcs` and `console_formats_are_asked_as_the_pcs`, each with `--exact --test-threads=1 --nocapture`, 3 runs: 3/3 passed each, 0 SKIPPED. Lib tests only; no title run. AI-assisted (Claude Code, Claude Opus 5.5).
github-actions[bot] commented 2026-12-01 02:35:00 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-12-01T02:35:00Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7298771312 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1649#issuecomment-7298771312). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-12-01T02:35:00Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 06:23:42 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T06:23:42Z.


Triage (#1607) – head 579e0be

No open or merged PR maps the depth + stencil families to depth-only ones on a native (D3DMetal) host; NATIVE_HOST_MEMORY and depth_only are not on main. #2361 detects a macOS host by another route (mac_host); if both land, the two detections should be merged into one. #3089 is about R24G8 depth twins on Windows, not this mapping.
No problems found in the diff; Windows behaviour is unchanged because depth_only() stays false when the host D3D12 is a PE module. It conflicts with main and needs a rebase.
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:7302821616 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1649#issuecomment-7302821616). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T06:23:42Z. --- **Triage (#1607)** – head 579e0be No open or merged PR maps the depth + stencil families to depth-only ones on a native (D3DMetal) host; `NATIVE_HOST_MEMORY` and `depth_only` are not on main. #2361 detects a macOS host by another route (`mac_host`); if both land, the two detections should be merged into one. #3089 is about R24G8 depth twins on Windows, not this mapping. No problems found in the diff; Windows behaviour is unchanged because `depth_only()` stays false when the host D3D12 is a PE module. It conflicts with main and needs a rebase. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

Pull request closed

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!1639
No description provided.