Tests: verify D3D12.X allocation, custom heap, and footprint parity #1798

Open
Vadson159 wants to merge 1 commit from upstream-pr/1808 into main
Vadson159 commented 2026-11-24 21:00:12 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Vadson159 on 2026-11-24T21:00:12Z.


Part of #480. Adds standalone integration tests in crates/xcl/tests/d3d12_allocation_and_footprints.rs comparing XCL's hooked D3D12.X memory-layout, heap-property, and copy-footprint queries against the host D3D12 driver (real::orig_fn) and xg::Texture without console game files.

This PR is ~1000 lines rather than split because all four device query tests (GetResourceAllocationInfo, GetResourceAllocationInfo2, GetCustomHeapProperties, and GetCopyableFootprints) share one synthetic mapped-module caller harness (ensure_title_callers), descriptor builders, and multi-resource packing verifier in a single integration test file; zero runtime files under crates/xcl/src/ are modified.

What is in it

  • GetResourceAllocationInfo (slot 25, get_resource_allocation_info_matches_host_driver_and_console_tiling): verifies host pass-through for non-title callers, C++ vs C sret ABI detection including stale vtable-copy output buffers (this_first), normalization of console buffer alignment/flags (device_x::pc_resource_desc), MSAA 4x render targets, xg::Texture parity and multi-resource packing across non-MSAA 2D/BC/depth-118/3D textures, zero-count, NULL descriptor array, and invalid buffer error handling (u64::MAX).
  • GetResourceAllocationInfo2 (console slot 108 vs ID3D12Device8 #68, get_resource_allocation_info2_matches_host_driver_and_console_offsets): verifies host parity for 0x48-byte console D3D12_RESOURCE_DESC1 entries against 0x40-byte PC D3D12_RESOURCE_DESC1 across C++/C ABIs, stale output buffers, NULL pResourceAllocationInfos1, console swizzled/3D texture packing offsets, and u64::MAX error propagation.
  • GetCustomHeapProperties (slot 26, get_custom_heap_properties_matches_host_driver_across_types_and_abis): verifies PC pass-through and host parity across DEFAULT, UPLOAD, READBACK, CUSTOM, and invalid heap types, nodeMask 0 and 1, C++/C ABIs, and stale vtable output buffers (accepting both WRITE_COMBINE on discrete GPUs and WRITE_BACK on UMA/WARP for UPLOAD).
  • GetCopyableFootprints (slot 38, get_copyable_footprints_matches_host_driver_and_console_fallbacks): verifies PC pass-through, exact host parity across buffer/2D/BC1-slice/3D descriptors, fallback through device_x::pc_resource_desc for console layout 0x101, console formats 116/118, and depth+UAV flags (0x6), NULL pTotalBytes / all-NULL optional outputs, and u64::MAX on invalid descriptors.

Tested

  • Hardware & OS: AMD Ryzen 7 9800X3D 8-Core Processor, AMD Radeon RX 9070 XT (driver 32.0.32029.2010), AMD Radeon(TM) Graphics (driver 32.0.21045.29003), and WARP (XCL_ADAPTER=warp); Microsoft Windows 11 Pro 10.0.26300 (build 26300, x64); rustc 1.100.0 (0ef1bc386 2026-11-09).
  • .\scripts\test.ps1 (cargo build --workspace && cargo test --workspace -- --test-threads=4, debug, RX 9070 XT): 895 passed, 0 failed, 42 ignored (GPU tests skipped on this adapter: 1 (no heap windows); SKIPPED heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows; XCL_SAMPLE_* suites skipped as env vars are unset); includes tests\d3d12_allocation_and_footprints.rs (4 passed, 0 failed, 0 ignored).
  • cargo test -p xcl --test d3d12_allocation_and_footprints -- --test-threads=4 (debug, RX 9070 XT): 4 passed, 0 failed, 0 ignored.
  • cargo test -p xcl --release --test d3d12_allocation_and_footprints -- --test-threads=1 (release, RX 9070 XT): 4 passed, 0 failed, 0 ignored.
  • XCL_D3D12_DEBUG=1 cargo test -p xcl --test d3d12_allocation_and_footprints -- --test-threads=1 (debug, RX 9070 XT): 4 passed, 0 failed, 0 ignored.
  • XCL_ADAPTER="Radeon(TM)" cargo test -p xcl --test d3d12_allocation_and_footprints -- --test-threads=1 (debug, AMD Radeon(TM) Graphics): 4 passed, 0 failed, 0 ignored.
  • XCL_ADAPTER=warp cargo test -p xcl --test d3d12_allocation_and_footprints -- --test-threads=1 (debug, WARP): 4 passed, 0 failed, 0 ignored.
  • python -B -m unittest discover -s scripts -p "test_*.py" -v: Ran 16 tests, OK.

Regression run
main:

PR:

Not tested

  • Retail Xbox Series X|S titles and XCL_SAMPLE_* game-data suites (no game files on this machine; runtime code outside tests is unchanged).
  • 4-byte-aligned stack destination for GetCustomHeapProperties (test uses 8-byte-aligned AlignedHeapProps due to the existing unaligned read in real::is_adopted tracked in #1130).
  • NVIDIA/Intel GPUs and non-Windows hosts (XCL builds and runs on Windows x64 only).

AI use

  • Antigravity (exact model name not provided to the agent in session prompt): selected the uncovered #480 scope, wrote crates/xcl/tests/d3d12_allocation_and_footprints.rs, ran the test suites above, and drafted this PR description.
<!-- greyfinch-sync:ivall/xcl:issue:5480244905 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1808). Originally posted by [Vadson159](https://github.com/Vadson159) on 2026-11-24T21:00:12Z. --- Part of #480. Adds standalone integration tests in `crates/xcl/tests/d3d12_allocation_and_footprints.rs` comparing XCL's hooked D3D12.X memory-layout, heap-property, and copy-footprint queries against the host D3D12 driver (`real::orig_fn`) and `xg::Texture` without console game files. This PR is ~1000 lines rather than split because all four device query tests (`GetResourceAllocationInfo`, `GetResourceAllocationInfo2`, `GetCustomHeapProperties`, and `GetCopyableFootprints`) share one synthetic mapped-module caller harness (`ensure_title_callers`), descriptor builders, and multi-resource packing verifier in a single integration test file; zero runtime files under `crates/xcl/src/` are modified. **What is in it** - `GetResourceAllocationInfo` (slot 25, `get_resource_allocation_info_matches_host_driver_and_console_tiling`): verifies host pass-through for non-title callers, C++ vs C sret ABI detection including stale vtable-copy output buffers (`this_first`), normalization of console buffer alignment/flags (`device_x::pc_resource_desc`), MSAA 4x render targets, `xg::Texture` parity and multi-resource packing across non-MSAA 2D/BC/depth-118/3D textures, zero-count, NULL descriptor array, and invalid buffer error handling (`u64::MAX`). - `GetResourceAllocationInfo2` (console slot 108 vs `ID3D12Device8` #68, `get_resource_allocation_info2_matches_host_driver_and_console_offsets`): verifies host parity for `0x48`-byte console `D3D12_RESOURCE_DESC1` entries against `0x40`-byte PC `D3D12_RESOURCE_DESC1` across C++/C ABIs, stale output buffers, NULL `pResourceAllocationInfos1`, console swizzled/3D texture packing offsets, and `u64::MAX` error propagation. - `GetCustomHeapProperties` (slot 26, `get_custom_heap_properties_matches_host_driver_across_types_and_abis`): verifies PC pass-through and host parity across `DEFAULT`, `UPLOAD`, `READBACK`, `CUSTOM`, and invalid heap types, `nodeMask` 0 and 1, C++/C ABIs, and stale vtable output buffers (accepting both `WRITE_COMBINE` on discrete GPUs and `WRITE_BACK` on UMA/WARP for `UPLOAD`). - `GetCopyableFootprints` (slot 38, `get_copyable_footprints_matches_host_driver_and_console_fallbacks`): verifies PC pass-through, exact host parity across buffer/2D/BC1-slice/3D descriptors, fallback through `device_x::pc_resource_desc` for console layout `0x101`, console formats `116`/`118`, and depth+UAV flags (`0x6`), NULL `pTotalBytes` / all-NULL optional outputs, and `u64::MAX` on invalid descriptors. **Tested** - Hardware & OS: `AMD Ryzen 7 9800X3D 8-Core Processor`, `AMD Radeon RX 9070 XT` (driver `32.0.32029.2010`), `AMD Radeon(TM) Graphics` (driver `32.0.21045.29003`), and `WARP` (`XCL_ADAPTER=warp`); `Microsoft Windows 11 Pro 10.0.26300` (build 26300, x64); `rustc 1.100.0 (0ef1bc386 2026-11-09)`. - `.\scripts\test.ps1` (`cargo build --workspace && cargo test --workspace -- --test-threads=4`, debug, RX 9070 XT): 895 passed, 0 failed, 42 ignored (`GPU tests skipped on this adapter: 1 (no heap windows)`; `SKIPPED heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows`; `XCL_SAMPLE_*` suites skipped as env vars are unset); includes `tests\d3d12_allocation_and_footprints.rs` (4 passed, 0 failed, 0 ignored). - `cargo test -p xcl --test d3d12_allocation_and_footprints -- --test-threads=4` (debug, RX 9070 XT): 4 passed, 0 failed, 0 ignored. - `cargo test -p xcl --release --test d3d12_allocation_and_footprints -- --test-threads=1` (release, RX 9070 XT): 4 passed, 0 failed, 0 ignored. - `XCL_D3D12_DEBUG=1 cargo test -p xcl --test d3d12_allocation_and_footprints -- --test-threads=1` (debug, RX 9070 XT): 4 passed, 0 failed, 0 ignored. - `XCL_ADAPTER="Radeon(TM)" cargo test -p xcl --test d3d12_allocation_and_footprints -- --test-threads=1` (debug, AMD Radeon(TM) Graphics): 4 passed, 0 failed, 0 ignored. - `XCL_ADAPTER=warp cargo test -p xcl --test d3d12_allocation_and_footprints -- --test-threads=1` (debug, WARP): 4 passed, 0 failed, 0 ignored. - `python -B -m unittest discover -s scripts -p "test_*.py" -v`: Ran 16 tests, OK. **Regression run** main: PR: **Not tested** - Retail Xbox Series X|S titles and `XCL_SAMPLE_*` game-data suites (no game files on this machine; runtime code outside tests is unchanged). - 4-byte-aligned stack destination for `GetCustomHeapProperties` (test uses 8-byte-aligned `AlignedHeapProps` due to the existing unaligned read in `real::is_adopted` tracked in #1130). - NVIDIA/Intel GPUs and non-Windows hosts (XCL builds and runs on Windows x64 only). **AI use** - Antigravity (exact model name not provided to the agent in session prompt): selected the uncovered #480 scope, wrote `crates/xcl/tests/d3d12_allocation_and_footprints.rs`, ran the test suites above, and drafted this PR description.
Ctrl-Alt-Haze commented 2026-11-24 21:30:01 +00:00 (Migrated from github.com)

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


Tested (head 941a877a3d11c4e18161fb0a8d0c44e3c3ef5902, 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): 895 passed, 0 failed, 42 ignored (includes tests\d3d12_allocation_and_footprints.rs: 4 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:7144804915 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1808#issuecomment-7144804915). Originally posted by [Ctrl-Alt-Haze](https://github.com/Ctrl-Alt-Haze) on 2026-11-24T21:20:42Z. --- **Tested** (head `941a877a3d11c4e18161fb0a8d0c44e3c3ef5902`, 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`): **895 passed, 0 failed, 42 ignored** (includes `tests\d3d12_allocation_and_footprints.rs`: `4 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:26Z.


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

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: 893 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: get_resource_allocation_info_matches_host_driver_and_console_tiling, get_resource_allocation_info2_matches_host_driver_and_console_offsets, get_custom_heap_properties_matches_host_driver_across_types_and_abis, get_copyable_footprints_matches_host_driver_and_console_fallbacks.
  • Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4: 895 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:7146149669 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1808#issuecomment-7146149669). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-11-24T22:22:26Z. --- Adding an AMD GPU (RDNA2, native wave64) to the report above, which has none, with an NVIDIA run alongside. Tested exact head `941a877` (on its base `4178e88`). **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`: **893 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: `get_resource_allocation_info_matches_host_driver_and_console_tiling`, `get_resource_allocation_info2_matches_host_driver_and_console_offsets`, `get_custom_heap_properties_matches_host_driver_across_types_and_abis`, `get_copyable_footprints_matches_host_driver_and_console_fallbacks`. - Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4`: **895 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.
JJAutoCompare commented 2026-11-25 04:10:16 +00:00 (Migrated from github.com)

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


PR #1808 compatibility verification

Tested fetched head 941a877a3d11c4e18161fb0a8d0c44e3c3ef5902 on STOR-WINLAB. The diff adds four integration tests in crates/xcl/tests/d3d12_allocation_and_footprints.rs.

Tested

  • Windows 11 Enterprise Evaluation build 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 16 GiB, driver 32.0.101.9175, DoublePrecisionFloatShaderOps=0, wave range 8-32. The run used XCL_ADAPTER=A770 and logged DXC and DXIL 1.9.2609.5.
  • rustc 1.100.0 (0ef1bc386 2026-11-09). cargo build --workspace and cargo test --workspace --no-run exited 0 outside the GPU lock. Dev and test builds were unoptimized with debug info and incremental compilation disabled.
  • cargo test -p xcl --test d3d12_allocation_and_footprints -- --nocapture ran under the shared Arc lock. The log confirmed the real D3D12.X backend on the A770. All four tests passed with zero failures, ignores, or skips: GetResourceAllocationInfo (host parity and console tiling), GetResourceAllocationInfo2 (totals and per-resource offsets), GetCustomHeapProperties (heap types and C/C++ ABIs), and GetCopyableFootprints (host parity and console-layout fallback). All four passed again in the workspace suite.

One run of cargo test --workspace --no-fail-fast -- --test-threads=4 under the shared Arc lock exited 101. Across 21 test summaries, pr1808-suite.log records 877 passed, 18 failed, and 42 ignored. It contains 4 SKIPPED lines and skipped cases provide no coverage.

  • The 17 library failures comprised 13 CreateComputePipelineState rejections (0x80070057) and four shader result mismatches involving fused arithmetic, texture sampling, packed f16, and wave reduction. The synthetic-title e2e test failed its RSSetDepthBiasX (#94) check with a blue pixel where it expected green.
  • The explicit skip lines record two wave64 cases, one driver-cache control check that requires Windows Developer Mode, and one unavailable heap-window case.

Not tested

Retail titles or external game samples, other GPUs, release builds, or a comparison run on main. D3D12 debug-layer coverage was unavailable (d3d12SDKLayers.dll absent).

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

<!-- greyfinch-sync:ivall/xcl:comment:7151647840 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1808#issuecomment-7151647840). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T03:09:37Z. --- # PR #1808 compatibility verification Tested fetched head `941a877a3d11c4e18161fb0a8d0c44e3c3ef5902` on STOR-WINLAB. The diff adds four integration tests in `crates/xcl/tests/d3d12_allocation_and_footprints.rs`. **Tested** - Windows 11 Enterprise Evaluation build 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 16 GiB, driver 32.0.101.9175, `DoublePrecisionFloatShaderOps=0`, wave range 8-32. The run used `XCL_ADAPTER=A770` and logged DXC and DXIL 1.9.2609.5. - `rustc 1.100.0 (0ef1bc386 2026-11-09)`. `cargo build --workspace` and `cargo test --workspace --no-run` exited 0 outside the GPU lock. Dev and test builds were unoptimized with debug info and incremental compilation disabled. - `cargo test -p xcl --test d3d12_allocation_and_footprints -- --nocapture` ran under the shared Arc lock. The log confirmed the real D3D12.X backend on the A770. All four tests passed with zero failures, ignores, or skips: `GetResourceAllocationInfo` (host parity and console tiling), `GetResourceAllocationInfo2` (totals and per-resource offsets), `GetCustomHeapProperties` (heap types and C/C++ ABIs), and `GetCopyableFootprints` (host parity and console-layout fallback). All four passed again in the workspace suite. One run of `cargo test --workspace --no-fail-fast -- --test-threads=4` under the shared Arc lock exited 101. Across 21 test summaries, `pr1808-suite.log` records **877 passed, 18 failed, and 42 ignored**. It contains **4 `SKIPPED ` lines** and skipped cases provide no coverage. - The 17 library failures comprised 13 `CreateComputePipelineState` rejections (`0x80070057`) and four shader result mismatches involving fused arithmetic, texture sampling, packed f16, and wave reduction. The synthetic-title e2e test failed its `RSSetDepthBiasX` (#94) check with a blue pixel where it expected green. - The explicit skip lines record two wave64 cases, one driver-cache control check that requires Windows Developer Mode, and one unavailable heap-window case. **Not tested** Retail titles or external game samples, other GPUs, release builds, or a comparison run on `main`. D3D12 debug-layer coverage was unavailable (`d3d12SDKLayers.dll` absent). **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 `pr1808-suite.log` and published this report.
github-actions[bot] commented 2026-11-28 08:01:33 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-28T08:01:33Z.


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:7236312631 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1808#issuecomment-7236312631). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T08:01:33Z. --- 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:51:03 +00:00 (Migrated from github.com)

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


Triage (#1607) – head 941a877

Overlaps #694 (#1607 group D186): both compare the D3D12.X GetCopyableFootprints slot with the host driver. #694 also uploads and reads back a BC1 array and a volume on the GPU using the translated footprints; this PR compares query output only but adds console-format fallbacks and NULL-output cases. It also overlaps main commit bf84c59e (crates/xcl/tests/d3d12_allocation_and_heap_info.rs), which already compares GetResourceAllocationInfo and GetCustomHeapProperties with the host driver; GetResourceAllocationInfo2 and the footprint checks here are new. At 1003 lines in one file it is over the ~800-line limit; it could be split per hook, with the parts already on main dropped.
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:7303353402 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1808#issuecomment-7303353402). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T06:51:03Z. --- **Triage (#1607)** – head 941a877 Overlaps #694 (#1607 group D186): both compare the D3D12.X GetCopyableFootprints slot with the host driver. #694 also uploads and reads back a BC1 array and a volume on the GPU using the translated footprints; this PR compares query output only but adds console-format fallbacks and NULL-output cases. It also overlaps main commit bf84c59e (crates/xcl/tests/d3d12_allocation_and_heap_info.rs), which already compares GetResourceAllocationInfo and GetCustomHeapProperties with the host driver; GetResourceAllocationInfo2 and the footprint checks here are new. At 1003 lines in one file it is over the ~800-line limit; it could be split per hook, with the parts already on main dropped. 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/1808:upstream-pr/1808'
git switch 'upstream-pr/1808'

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