Tests: exercise direct geometry in expanded heap windows #2430
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2440"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by venetanji on 2026-11-25T18:57:07Z.
The direct-DXIL test helper falls back to HLSL above four memory windows, even when heap windows support sixteen. That lets a requested direct test pass without exercising direct translation. Honor the existing layout limit and assert a real DXIL result. Part of #2088.
What is in it
Tested
git diff --check: passes. The only changed file isgpu/recomp/tests.rs, compiled undercfg(test).--exact --nocapture --test-threads=1andXCL_DIRECT_DXIL=1:direct_test_helper_honors_expanded_heap_windows,gpu_mesh_mode_reads_expanded_heap_windows,gpu_geometry_direct_expanded_heap_prefix_counts.dc6c7870on base2898511. Windows/no-GPU CI passed, using Windows 2025, Rust 1.100.0 MSVC/debug andscripts/test.ps1 --skip test_title_runs_and_game_folder_is_untouched(workspace build/tests, four test threads). That CI merge tree was byte-identical to revisiondc6c7870. Main libtest: 1287 passed, 0 failed, 26 ignored; the script reports 344 explicit GPU skips overall. The new CPU sentinel passes, while both new GPU cases explicitly skip for no wave64. This is not hardware GPU coverage. Central CI awaits maintainer approval.633b1e42normally merges upstream08db8020without rewriting history. Its diff against that upstream pin is byte-identical to the earlier one-file test patch; all assertions and fixture provenance are unchanged. Current upstream Windows/no-GPU CI awaits maintainer approval; no test counts for this merge head are claimed.Not tested
AI use
Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-25T19:18:48Z.
Tested: current PR head merged onto current
origin/main(clean), Linux (Arch, kernel 7.2.15), Mesa 26.2.5 RADV, Radeon RX 7900 XT (NAVI31), cargo targetx86_64-pc-windows-gnurun under wine-11.0 (Proton), rustc 1.94.0, vkd3d-proton 3.1 with the XCL patch, official MS DXC (binaries 2026-09-29).gpu_suite, cold cache: 162 passed / 4 failed. Three are the known baseline trio on this lane; the fourth is the newgpu_promoted_uav_clear_values_pass_create_committed_resourcefailure that current main carries (reported here), not caused by this PR. Everything else is green.Not tested: retail titles (no title data on this lane, counts only).
AI use: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting.
upstream-sync referenced this pull request2026-11-25 21:03:50 +00:00
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T20:15:53Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: 1 real failure, deterministic (also fails--test-threads=1, 1219/1):The lowered program is missing an expected group barrier (or emits one where none is expected). Needs a fix before merge.
— Devin
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T02:12:19Z.
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
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-30T08:41:02Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:05:27Z.
Triage (#1607) – head
633b1e4No open or merged PR makes this change. On main the helper's check has moved into
direct_enabledin gpu/recomp/tests.rs, and it is stillopt.mem_windows <= 4. So the fallback to HLSL above four windows that this PR fixes is still there, and the PR needs a rebase onto that function.The new GPU variants (
gpu_mesh_mode_reads_expanded_heap_windows,gpu_geometry_direct_expanded_heap_prefix_counts) were only run under Wine/vkd3d-proton, and they skip without split wave64. 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.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.