Tests: verify CheckFeatureSupport, reserved resource, and tiling parity #1776

Open
Vadson159 wants to merge 1 commit from upstream-pr/1786 into main
Vadson159 commented 2026-11-24 20:41:19 +00:00 (Migrated from github.com)

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


Adds host-driver parity and contract tests for ID3D12Device::CheckFeatureSupport (#13), CreateReservedResource (#30), CreateReservedResource1 (#55), and GetResourceTiling (#42) without requiring console game files. Part of #480.

What is in it

  • crates/xcl/tests/d3d12_reserved_tiling_and_features.rs:
    • check_feature_support_matches_host_driver_and_console_extensions: checks payload/HRESULT parity across standard D3D12_FEATURE_* queries (D3D12_OPTIONS..OPTIONS7, ARCHITECTURE/1, GPU_VIRTUAL_ADDRESS_SUPPORT, SHADER_MODEL, ROOT_SIGNATURE, FEATURE_LEVELS, FORMAT_SUPPORT, FORMAT_INFO, MULTISAMPLE_QUALITY_LEVELS, PLACED_RESOURCE_SUPPORT_INFO), XCL_RAYTRACING handling in OPTIONS5, console oversized (+4 bytes) and undersized (-4 bytes) buffer fallbacks, console-only formats (116..=120) mapping + input format restoration, and null-pointer error parity.
    • create_reserved_resource_and_v1_match_host_driver: checks CreateReservedResource and ID3D12Device5::CreateReservedResource1 parity with real::orig_fn across buffers and reserved textures (GetDesc(), HRESULTs on valid and invalid descriptors, null ppv), verifies note_reserved keeps Map returning E_INVALIDARG, and exercises the unknown-IID E_NOINTERFACE fallback (creator!) when the D3D12 debug layer is inactive.
    • get_resource_tiling_matches_host_driver_and_d3d12_contract: checks GetResourceTiling parity with real::orig_fn across reserved buffers, non-reserved committed textures, multi-mip/array/BC1/depth/3D reserved textures, omitted optional out-pointers, partial FirstSubresourceTilingToGet slices, vendor-independent 64 KiB packed/standard tile accounting, and vram::place reserved textures.

Tested

  • Hardware / OS / toolchain: AMD Radeon RX 9070 XT (driver 32.0.32029.2010), AMD Radeon(TM) Graphics (driver 32.0.21045.29003), Microsoft Basic Render Driver (XCL_ADAPTER=warp), AMD Ryzen 7 9800X3D, Windows 11 Pro (10.0.26300), rustc 1.100.0 (0ef1bc386 2026-11-09)
  • .\scripts\test.ps1 (cargo build --workspace && cargo test --workspace -- --test-threads=4, debug, default GPU RX 9070 XT): 892 passed, 0 failed, 42 ignored (SKIPPED GPU tests: heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows; tests\d3d12_reserved_tiling_and_features.rs: 3 passed, 0 failed, 0 ignored)
  • cargo test -p xcl --test d3d12_reserved_tiling_and_features (--nocapture, debug):
    • Default GPU (RX 9070 XT): 3 passed, 0 failed, 0 ignored
    • XCL_ADAPTER="Radeon(TM)" (iGPU): 3 passed, 0 failed, 0 ignored
    • XCL_ADAPTER=warp: 3 passed, 0 failed, 0 ignored
    • XCL_D3D12_DEBUG=1 -- --test-threads=1: 3 passed, 0 failed, 0 ignored
  • cargo test -p xcl --release --test d3d12_reserved_tiling_and_features -- --nocapture: 3 passed, 0 failed, 0 ignored
  • python -B -m unittest discover -s scripts -p "test_*.py" -v: 16 passed, 0 failed
  • python scripts/pr_check.py --local: passed (description ok)

Regression run
Not needed: test-only change outside crates/xcl/src.

Not tested

  • XCL_SAMPLE_* sample tests (XCL_SAMPLE_RPF, XCL_SAMPLE_DLLS, XCL_SAMPLE_TTPF, XCL_SAMPLE_BCPACK, XCL_SAMPLE_BK2, XCL_SAMPLE_BVH4, XCL_SAMPLE_AWC, XCL_SAMPLE_XG, XCL_SAMPLE_DXC are not set on this machine)
  • NVIDIA and Intel GPU drivers
  • scripts/smoke.ps1 (no retail game folder available)
  • Unknown-IID E_NOINTERFACE fallback block while XCL_D3D12_DEBUG=1 is active (skipped when ID3D12DebugDevice is present because D3D12SDKLayers.dll fast-fails with 0xc0000409 on unsupported riid inside CreateReservedResource; verified in all non-debug-layer runs)
  • cargo clippy -p xcl --test d3d12_reserved_tiling_and_features --no-deps (did not complete test target due to 2 pre-existing clippy errors in xcl library)

AI use

  • Antigravity (exact model name not provided to the agent in session prompt): researched missing host-driver parity coverage for #480, implemented crates/xcl/tests/d3d12_reserved_tiling_and_features.rs, ran the test and verification commands, and drafted this PR description.
<!-- greyfinch-sync:ivall/xcl:issue:5479981124 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1786). Originally posted by [Vadson159](https://github.com/Vadson159) on 2026-11-24T20:41:19Z. --- Adds host-driver parity and contract tests for `ID3D12Device::CheckFeatureSupport` (#13), `CreateReservedResource` (#30), `CreateReservedResource1` (#55), and `GetResourceTiling` (#42) without requiring console game files. Part of #480. **What is in it** - [crates/xcl/tests/d3d12_reserved_tiling_and_features.rs](crates/xcl/tests/d3d12_reserved_tiling_and_features.rs): - `check_feature_support_matches_host_driver_and_console_extensions`: checks payload/HRESULT parity across standard `D3D12_FEATURE_*` queries (`D3D12_OPTIONS`..`OPTIONS7`, `ARCHITECTURE`/`1`, `GPU_VIRTUAL_ADDRESS_SUPPORT`, `SHADER_MODEL`, `ROOT_SIGNATURE`, `FEATURE_LEVELS`, `FORMAT_SUPPORT`, `FORMAT_INFO`, `MULTISAMPLE_QUALITY_LEVELS`, `PLACED_RESOURCE_SUPPORT_INFO`), `XCL_RAYTRACING` handling in `OPTIONS5`, console oversized (`+4` bytes) and undersized (`-4` bytes) buffer fallbacks, console-only formats (`116..=120`) mapping + input format restoration, and null-pointer error parity. - `create_reserved_resource_and_v1_match_host_driver`: checks `CreateReservedResource` and `ID3D12Device5::CreateReservedResource1` parity with `real::orig_fn` across buffers and reserved textures (`GetDesc()`, HRESULTs on valid and invalid descriptors, null `ppv`), verifies `note_reserved` keeps `Map` returning `E_INVALIDARG`, and exercises the unknown-IID `E_NOINTERFACE` fallback (`creator!`) when the D3D12 debug layer is inactive. - `get_resource_tiling_matches_host_driver_and_d3d12_contract`: checks `GetResourceTiling` parity with `real::orig_fn` across reserved buffers, non-reserved committed textures, multi-mip/array/BC1/depth/3D reserved textures, omitted optional out-pointers, partial `FirstSubresourceTilingToGet` slices, vendor-independent 64 KiB packed/standard tile accounting, and `vram::place` reserved textures. **Tested** - Hardware / OS / toolchain: AMD Radeon RX 9070 XT (driver `32.0.32029.2010`), AMD Radeon(TM) Graphics (driver `32.0.21045.29003`), Microsoft Basic Render Driver (`XCL_ADAPTER=warp`), AMD Ryzen 7 9800X3D, Windows 11 Pro (`10.0.26300`), `rustc 1.100.0 (0ef1bc386 2026-11-09)` - `.\scripts\test.ps1` (`cargo build --workspace && cargo test --workspace -- --test-threads=4`, debug, default GPU RX 9070 XT): **892 passed, 0 failed, 42 ignored** (SKIPPED GPU tests: `heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows`; `tests\d3d12_reserved_tiling_and_features.rs`: **3 passed, 0 failed, 0 ignored**) - `cargo test -p xcl --test d3d12_reserved_tiling_and_features` (`--nocapture`, debug): - Default GPU (RX 9070 XT): **3 passed, 0 failed, 0 ignored** - `XCL_ADAPTER="Radeon(TM)"` (iGPU): **3 passed, 0 failed, 0 ignored** - `XCL_ADAPTER=warp`: **3 passed, 0 failed, 0 ignored** - `XCL_D3D12_DEBUG=1 -- --test-threads=1`: **3 passed, 0 failed, 0 ignored** - `cargo test -p xcl --release --test d3d12_reserved_tiling_and_features -- --nocapture`: **3 passed, 0 failed, 0 ignored** - `python -B -m unittest discover -s scripts -p "test_*.py" -v`: **16 passed, 0 failed** - `python scripts/pr_check.py --local`: passed (`description ok`) **Regression run** Not needed: test-only change outside `crates/xcl/src`. **Not tested** - `XCL_SAMPLE_*` sample tests (`XCL_SAMPLE_RPF, XCL_SAMPLE_DLLS, XCL_SAMPLE_TTPF, XCL_SAMPLE_BCPACK, XCL_SAMPLE_BK2, XCL_SAMPLE_BVH4, XCL_SAMPLE_AWC, XCL_SAMPLE_XG, XCL_SAMPLE_DXC` are not set on this machine) - NVIDIA and Intel GPU drivers - `scripts/smoke.ps1` (no retail game folder available) - Unknown-IID `E_NOINTERFACE` fallback block while `XCL_D3D12_DEBUG=1` is active (skipped when `ID3D12DebugDevice` is present because `D3D12SDKLayers.dll` fast-fails with `0xc0000409` on unsupported `riid` inside `CreateReservedResource`; verified in all non-debug-layer runs) - `cargo clippy -p xcl --test d3d12_reserved_tiling_and_features --no-deps` (did not complete test target due to 2 pre-existing clippy errors in `xcl` library) **AI use** - Antigravity (exact model name not provided to the agent in session prompt): researched missing host-driver parity coverage for #480, implemented `crates/xcl/tests/d3d12_reserved_tiling_and_features.rs`, ran the test and verification commands, and drafted this PR description.
Ctrl-Alt-Haze commented 2026-11-24 21:30:02 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Ctrl-Alt-Haze on 2026-11-24T21:20:56Z.


Tested (head 50ce7f4a5afb6cf09552d255ad133da415a281c4, NVIDIA GeForce RTX 5070 Ti, driver 32.0.16.2135, Wave32, AMD Ryzen 9 5950X, Windows 11 Build 26340, rustc 1.99.1, DXC 1.8.2502.11, debug, synthetic tests only):

  • .\scripts\test.ps1 (cargo build --workspace + cargo test --workspace -- --test-threads=4): 892 passed, 0 failed, 42 ignored (includes tests\d3d12_reserved_tiling_and_features.rs: 3 passed, 0 failed; SKIPPED GPU tests: 2 (no wave64) — gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware; 1 (no heap windows) — heap_window_out_of_memory_falls_back_to_the_switch_form).

AI use: Antigravity (Google DeepMind; exact model version not exposed to agent) ran the test suite and formatted the results.

<!-- greyfinch-sync:ivall/xcl:comment:7144810214 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1786#issuecomment-7144810214). Originally posted by [Ctrl-Alt-Haze](https://github.com/Ctrl-Alt-Haze) on 2026-11-24T21:20:56Z. --- **Tested** (head `50ce7f4a5afb6cf09552d255ad133da415a281c4`, NVIDIA GeForce RTX 5070 Ti, driver 32.0.16.2135, Wave32, AMD Ryzen 9 5950X, Windows 11 Build 26340, `rustc 1.99.1`, DXC `1.8.2502.11`, debug, synthetic tests only): - `.\scripts\test.ps1` (`cargo build --workspace` + `cargo test --workspace -- --test-threads=4`): **892 passed, 0 failed, 42 ignored** (includes `tests\d3d12_reserved_tiling_and_features.rs`: `3 passed, 0 failed`; `SKIPPED` GPU tests: `2 (no wave64)` — `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`; `1 (no heap windows)` — `heap_window_out_of_memory_falls_back_to_the_switch_form`). AI use: Antigravity (Google DeepMind; exact model version not exposed to agent) ran the test suite and formatted the results.
futurepro62 commented 2026-11-24 23:08:16 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-24T22:22:20Z.


Adding an AMD GPU (RDNA2, native wave64) to the report above, which has none, with an NVIDIA run alongside. Tested exact head 50ce7f4 (on its base b9b6ea6).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip pso_measurement_compiles_an_exact_synthetic_record: 890 passed, 0 failed, 42 ignored. SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware.
  • The new tests ran and passed: check_feature_support_matches_host_driver_and_console_extensions, create_reserved_resource_and_v1_match_host_driver, get_resource_tiling_matches_host_driver_and_d3d12_contract.
  • Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4: 892 passed, 0 failed, 42 ignored. SKIPPED: heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows), pso_measurement_compiles_an_exact_synthetic_record (cannot disable the driver cache (Windows Developer Mode is required): The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D)).
  • Two tests were skipped with --skip on NVIDIA. Both fail on main 7f7e768 too, not because of this PR: under XCL_REQUIRE_GPU=mesh, runner::skip_test turns their skips into failures. heap_window_out_of_memory_falls_back_to_the_switch_form skips when XCL_HEAP_WINDOWS is unset (#1651), and shaders::tests::pso_measurement_compiles_an_exact_synthetic_record skipped because Developer Mode was off. The AMD run does not set XCL_REQUIRE_GPU, so there both just print SKIPPED.

Not tested

  • a release build, a game (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
<!-- greyfinch-sync:ivall/xcl:comment:7146147379 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1786#issuecomment-7146147379). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-11-24T22:22:20Z. --- Adding an AMD GPU (RDNA2, native wave64) to the report above, which has none, with an NVIDIA run alongside. Tested exact head `50ce7f4` (on its base `b9b6ea6`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip pso_measurement_compiles_an_exact_synthetic_record`: **890 passed, 0 failed, 42 ignored**. SKIPPED (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`. - The new tests ran and passed: `check_feature_support_matches_host_driver_and_console_extensions`, `create_reserved_resource_and_v1_match_host_driver`, `get_resource_tiling_matches_host_driver_and_d3d12_contract`. - Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4`: **892 passed, 0 failed, 42 ignored**. SKIPPED: `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows), `pso_measurement_compiles_an_exact_synthetic_record` (cannot disable the driver cache (Windows Developer Mode is required): The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D)). - Two tests were skipped with `--skip` on NVIDIA. Both fail on main `7f7e768` too, not because of this PR: under `XCL_REQUIRE_GPU=mesh`, `runner::skip_test` turns their skips into failures. `heap_window_out_of_memory_falls_back_to_the_switch_form` skips when `XCL_HEAP_WINDOWS` is unset (#1651), and `shaders::tests::pso_measurement_compiles_an_exact_synthetic_record` skipped because Developer Mode was off. The AMD run does not set `XCL_REQUIRE_GPU`, so there both just print SKIPPED. **Not tested** - a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
DavidM1911 commented 2026-11-25 00:08:58 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T23:36:05Z.


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

  • cargo test -p xcl --lib: all passed, 0 failed, ~23 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:7147585717 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1786#issuecomment-7147585717). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-24T23:36:05Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~23 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 04:10:33 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T03:32:58Z.


PR #1786 compatibility verification

Verified commit 50ce7f4a5afb6cf09552d255ad133da415a281c4 on STOR-WINLAB. All three new D3D12.X tests passed in both runs. The workspace suite exited 1 with 18 failures across two other targets.

Environment

Windows 11 Enterprise Evaluation build 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 16 GiB (driver 32.0.101.9175). The adapter reports wave widths 8–32 and DoublePrecisionFloatShaderOps=0. DXC/DXIL 1.9.2609.5, rustc 1.100.0 (0ef1bc386 2026-11-09). Unoptimized Cargo profiles with debug info disabled.

Tested

cargo build --workspace and cargo test --workspace --no-run succeeded outside the GPU lock. Both execution runs used the shared Arc A770 lock.

cargo test -p xcl --test d3d12_reserved_tiling_and_features -- --nocapture returned 3 passed, 0 failed, 0 ignored, 0 skip markers.

  • CheckFeatureSupport matched the host responses and passed the console format and buffer-size fallback checks.
  • CreateReservedResource and CreateReservedResource1 passed host parity and reserved-resource Map checks. The log confirmed the unknown-IID fallback for both methods.
  • GetResourceTiling passed host parity and tile contract checks on the exercised buffer and texture cases.

cargo test --workspace --no-fail-fast -- --test-threads=4 returned 874 passed, 18 failed, 42 ignored across 20 test binaries and one doc-test summary. The 4 SKIPPED lines were two wave64 cases, one heap-window case, and one driver-cache measurement that could not disable the cache. The harness includes those skip-marked cases in its pass count. They provide no coverage for the skipped paths.

Of the 17 library failures, 13 reported CreateComputePipelineState returning 0x80070057, including the FP64 tests. The other four were assertion failures in FMA overflow, implicit-LOD sampling, FP16 high-half preservation, and wave64 pixel reductions. The test-title e2e failure was dynamic depth bias via RSSetDepthBiasX (#94), which returned a blue pixel where green was expected.

Not tested

Main-branch baseline, other GPUs or drivers, native wave64, D3D12 debug layer (d3d12SDKLayers.dll absent), retail titles, and optional sample data.

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 pr1786-suite.log and published this report.

<!-- greyfinch-sync:ivall/xcl:comment:7152017516 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1786#issuecomment-7152017516). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T03:32:58Z. --- # PR #1786 compatibility verification Verified commit `50ce7f4a5afb6cf09552d255ad133da415a281c4` on STOR-WINLAB. All three new D3D12.X tests passed in both runs. The workspace suite exited 1 with 18 failures across two other targets. **Environment** Windows 11 Enterprise Evaluation build 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 16 GiB (driver 32.0.101.9175). The adapter reports wave widths 8–32 and `DoublePrecisionFloatShaderOps=0`. DXC/DXIL 1.9.2609.5, rustc 1.100.0 (0ef1bc386 2026-11-09). Unoptimized Cargo profiles with debug info disabled. **Tested** `cargo build --workspace` and `cargo test --workspace --no-run` succeeded outside the GPU lock. Both execution runs used the shared Arc A770 lock. `cargo test -p xcl --test d3d12_reserved_tiling_and_features -- --nocapture` returned **3 passed, 0 failed, 0 ignored, 0 skip markers**. - `CheckFeatureSupport` matched the host responses and passed the console format and buffer-size fallback checks. - `CreateReservedResource` and `CreateReservedResource1` passed host parity and reserved-resource Map checks. The log confirmed the unknown-IID fallback for both methods. - `GetResourceTiling` passed host parity and tile contract checks on the exercised buffer and texture cases. `cargo test --workspace --no-fail-fast -- --test-threads=4` returned **874 passed, 18 failed, 42 ignored** across 20 test binaries and one doc-test summary. The **4 `SKIPPED ` lines** were two wave64 cases, one heap-window case, and one driver-cache measurement that could not disable the cache. The harness includes those skip-marked cases in its pass count. They provide no coverage for the skipped paths. Of the 17 library failures, 13 reported `CreateComputePipelineState` returning `0x80070057`, including the FP64 tests. The other four were assertion failures in FMA overflow, implicit-LOD sampling, FP16 high-half preservation, and wave64 pixel reductions. The test-title e2e failure was dynamic depth bias via `RSSetDepthBiasX` (#94), which returned a blue pixel where green was expected. **Not tested** Main-branch baseline, other GPUs or drivers, native wave64, D3D12 debug layer (`d3d12SDKLayers.dll` absent), retail titles, and optional sample data. **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 `pr1786-suite.log` and published this report.
github-actions[bot] commented 2026-11-28 08:02:00 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-28T08:02: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:7236317517 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1786#issuecomment-7236317517). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T08:02: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:47:18 +00:00 (Migrated from github.com)

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


Triage (#1607) – head 50ce7f4

Much of this file is now on main. tests/d3d12_check_feature_support.rs (08101309) compares CheckFeatureSupport with the host driver, including the oversized console structs. tests/d3d12_create_reserved_resource.rs (eba5e09d, #617) compares CreateReservedResource, unknown-IID fallback, clear value / null ppv and GetResourceTiling. #2889 also compares GetResourceTiling through a vram::place_pages reserved resource.
Problem: XCL does not override ID3D12Device::GetResourceTiling (slot 42), so in get_resource_tiling_matches_host_driver_and_d3d12_contract the XCL-vs-orig_fn comparisons call the driver against itself. Only the tiling invariants check something there.
What is still new: CreateReservedResource1, the partial and total-only GetResourceTiling queries, and the vram::place case. Trimming the PR to those would make it reviewable.
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:7303274715 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1786#issuecomment-7303274715). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T06:47:18Z. --- **Triage (#1607)** – head 50ce7f4 Much of this file is now on main. `tests/d3d12_check_feature_support.rs` (08101309) compares CheckFeatureSupport with the host driver, including the oversized console structs. `tests/d3d12_create_reserved_resource.rs` (eba5e09d, #617) compares CreateReservedResource, unknown-IID fallback, clear value / null ppv and GetResourceTiling. #2889 also compares GetResourceTiling through a `vram::place_pages` reserved resource. Problem: XCL does not override `ID3D12Device::GetResourceTiling` (slot 42), so in `get_resource_tiling_matches_host_driver_and_d3d12_contract` the XCL-vs-`orig_fn` comparisons call the driver against itself. Only the tiling invariants check something there. What is still new: CreateReservedResource1, the partial and total-only GetResourceTiling queries, and the `vram::place` case. Trimming the PR to those would make it reviewable. 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/1786:upstream-pr/1786'
git switch 'upstream-pr/1786'

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/1786'
git switch 'upstream-pr/1786'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1786'
git switch 'upstream-pr/1786'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1786'
git switch 'main'
git merge --squash 'upstream-pr/1786'
git switch 'main'
git merge --ff-only 'upstream-pr/1786'
git switch 'main'
git merge 'upstream-pr/1786'
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!1776
No description provided.