Repository navigation
Tests: verify console copyable footprints against native D3D12 - #694
luna021839 wants to merge 1 commit into
Conversation
Compare the title-facing slot with native D3D12 on the same device. Cover a BC1 array range above 4 GiB and a console-only volume format whose translated layout is used in a GPU round trip. Assisted-by: OpenAI Codex (GPT-6.2 Sol)
Test report: #694 under Wine with vkd3d-proton as the host driver (Linux, NVIDIA)Under Wine, the native D3D12 this test compares XCL with is vkd3d-proton (D3D12 on Vulkan). Both tests pass there. Setup
Result:
Not tested
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. |
|
Independent test report on Tested
Not tested
AI use
|
|
Test run of Tested
Review: The test compares XCL's Not tested: no retail title or regression run (I have no unpacked game), no Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code. |
|
Tested on Windows 11 + NVIDIA GeForce RTX 3060 Ti (8 GB, wave32). Tested
Not tested: Debug build, AI use: Antigravity ( |
|
Test report for Tested
17 test binaries: 693 passed, 1 failed, 41 ignored. Same machine, This PR's tests:
Failures:
SKIPPED (no wave64 on this GPU): AI use: Claude Code (Claude Opus 5.5) ran the builds and tests and wrote this report from their output. |
|
Tested on Radeon RX 6800M (RDNA2)
cargo test --locked -p xcl --test copyable_footprints -- --test-threads=1 --nocapture2 passed, 0 failed, 0 ignored, 0 runtime skips. The BC1 array case matched native D3D12 with a base offset above 4 GiB. The console volume case matched native D3D12 with and without the optional total-byte output, and the GPU round trip verified 1,160 bytes across three mips. Not tested Full workspace suite on this PR head, release mode, other adapters, and retail titles or sample data. AI use OpenAI Codex (GPT-6 family, exact model variant unavailable) ran the tests and drafted this report. |
Empirical test report (90f9475)Verified PR #694 at Hardware / environment
Commands and results
Observed behavior
Not tested The full GPU workspace suite and game smoke runs were omitted. The focused fixture ran on the A770 only. AI use Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr694-focused.log and published. |
Check that a title calling D3D12.X
GetCopyableFootprintsgets the same layout as native D3D12 for the corresponding PC resource. Related to #480.What is in it
crates/xcl/tests/copyable_footprints.rsuses a synthetic title caller and queries the original method on the same device. It compares every output for a BC1 range that crosses array slices at a base offset above 4 GiB.R10G10B10_7E3_A2_FLOATvolume exercises the retry asR16G16B16A16_FLOAT, with and without the optional total byte count. The test uses the translated upload layouts and native readback layouts to compare 1,160 bytes over three mips.Tested
cargo test --locked --jobs 3 -p xcl --test copyable_footprints -- --show-output. Neither run skipped a test. These focused runs useddd2ae9a70af5eb5aad60f02d86e386b72abe1e95with this test patch.BaseOffsetto 32 bits and suppressing the retry whenpTotalBytesis null. The production source was restored before the workspace runs.91f9a5e9f03156ea82dc55a18f7704862da7a5dbwith this patch,cargo build --locked --workspace --jobs 3passed.cargo test --locked --workspace --no-fail-fast --jobs 3 -- --test-threads=4 --show-outputreported 694 passed, 0 failed and 41 ignored. Both new tests passed on the RTX 5060 Ti.SKIPPEDfor lack of native wave64. The pass count includesgpu_geometry_wave32_prefix_count_over_a_maskandgpu_wave32_program_in_wave64_hardware.Regression run
Not tested
AI use