Repository navigation
Conversation
The test helper returned HLSL above four windows even when heap-indexed layouts support sixteen, so requested direct coverage could silently run another compiler path. Respect the existing window bound and assert an actual DXIL container in an isolated CPU regression. Execute NGG and legacy geometry compute prepasses against window 15 with the existing numeric models and a window-0 decoy. Preserve the original default fixture path, and report unsupported selected wave modes as skips for the new direct variants. No production runtime or backend changes. Part of xcl-dev#2088. Complements xcl-dev#2408 and xcl-dev#2383 with executed highest-window data rather than graphics validation alone. Assisted-by: Codex (GPT-6)
|
Tested: current PR head merged onto current
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.2898511; this head:dc6c7870. 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). Its merge tree is byte-identical to this head. 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.Not tested
AI use