Repository navigation
Conversation
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
|
Linux / AMD RDNA3 datapoint. Merged state: head Full suite, Not tested: retail titles (none here), Windows, RDNA4. Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting. |
…cl-dev#851, xcl-dev#864, xcl-dev#875-xcl-dev#876 and Wine raw fences Integrate clean upstream PRs on top of upstream/main (1ec4c98): - xcl-dev#849: direct move_away for remapped physical pages (avoids 4x sparse tile-mapping round-trips) - xcl-dev#838: FillMemoryWith*BitValueX uses list upload arena instead of leaked pattern buffers - xcl-dev#840: merge released ranges of the shared descriptor heap - xcl-dev#839: map queue-specific D3D12_BARRIER_LAYOUT values to legacy resource states - xcl-dev#841: preserve due frame-clock events when schedule changes at deadline - xcl-dev#851: split wrapped command lists before Wait64 GE after ordinary GPU work - xcl-dev#864: export XMemIsToolsMemAvailable returning 0 on retail - xcl-dev#875: tbuffer_load_format_* uses identity DST_SEL instead of V# DST_SEL - xcl-dev#876: implement IDXGIDevice2::EnqueueSetEvent Also add real::create_raw_fence for internal fences (late_release and EnqueueSetEvent) so Wine/vkd3d-proton never receives a FenceProxy on unadopted internal queues or SetEventOnMultipleFenceCompletion, and wrap list_x test exec with UnadoptGuard. Assisted-by: Antigravity (Google DeepMind)
CreateCommittedResource (xcl-dev#127) and CreatePlacedResourceX (xcl-dev#133) of the newer device layout take a D3D12_BARRIER_LAYOUT for the initial state, which layout_state() turns into a legacy resource state. It knew layouts 0 to 10 only, so the DIRECT_QUEUE_* and COMPUTE_QUEUE_* layouts (18 to 29) and SHADING_RATE_SOURCE (11) all became COMMON: a texture made in DIRECT_QUEUE_SHADER_RESOURCE or COMPUTE_QUEUE_UNORDERED_ACCESS started in COMMON on the PC while the title treats it as already in that layout. Assisted-by: Claude Code (Claude Opus 5.5)
ba90058 to
b904fda
Compare
…cl-dev#864, xcl-dev#875-xcl-dev#876 Re-apply the 8 non-merged upstream PRs from our previous fork main onto upstream/main (930e8b4): xcl-dev#838 (upload-arena fills), xcl-dev#839 (queue-specific barrier layouts), xcl-dev#840 (coalesced shared descriptor heap), xcl-dev#841 (frame clock deadline reschedule), xcl-dev#851 (split before Wait64 GE after ordinary work), xcl-dev#864 (XMemIsToolsMemAvailable), xcl-dev#875 (tbuffer_load_format identity DST_SEL), and xcl-dev#876 (IDXGIDevice2::EnqueueSetEvent with create_raw_fence). Assisted-by: Antigravity (Google DeepMind)
|
Regression run on a retail title for Tested
main: this PR: Not tested
AI use
|
Empirical test report (b904fda)Verified PR #839 at commit Hardware / environment
Commands and results
Observed behavior The fixture called Not tested The full GPU workspace suite and game smoke runs were omitted. The focused run exercised the translation function only. Resource creation and runtime barrier behavior on a D3D12 device remain unverified. AI use Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
Extends
device_x::layout_state()(used byCreateCommittedResource#127 andCreatePlacedResourceX#133 when creating resources with aD3D12_BARRIER_LAYOUT) to mapSHADING_RATE_SOURCE(11) and allDIRECT_QUEUE_*/COMPUTE_QUEUE_*layouts (18–29) to their legacyD3D12_RESOURCE_STATESequivalents instead of falling back toCOMMON.COMPUTE_QUEUE_SHADER_RESOURCE(27) toNON_PIXEL_SHADER_RESOURCE(0x40),DIRECT_QUEUE_SHADER_RESOURCE(21) toALL_SHADER_RESOURCE(0xC0),SHADING_RATE_SOURCE(11) to0x100_0000, and the remaining direct/compute queue layouts (GENERIC_READ,UNORDERED_ACCESS,COPY_SOURCE,COPY_DEST) to their corresponding states.barrier_layouts_become_resource_statesverifying every layout constant by name against thewindowscrate definitions.Tested
617.42/32.0.16.1742), Windows 11 Pro 25H2 (26200.9974),rustc 1.100.0 (0ef1bc386 2026-11-09)MSVC debug, DXC Windows SDK10.0.26100.0,d3d12SDKLayers.dllinstalledba90058f7c5017469e2acd411aa0dd61ae6fc343cargo build --workspace: clean (only pre-existingfetch_updatedeprecation warning)cargo test --workspace -- --test-threads=4: 714 passed, 0 failed, 41 ignored (new testhle::d3d12x::device_x::tests::barrier_layouts_become_resource_statespassed)SKIPPEDGPU tests:gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64,gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64Regression run
Smoke run by @CuteBooty in comment below: #839 (comment)
Contributed by a community tester; the PR author did not run it. Both blocks are pasted as posted.
main:
PR:
Tester's setup: RTX 3070 8 GB (32-lane waves), NVIDIA 621.24; Ryzen 5 3600, 32 GB; Windows 11 Pro 26200; rustc 1.100.0 MSVC; release build.
Tester's method:
scripts\smoke.ps1 -Game <folder> -Seconds 60, no input, on this PR's head as it is and onmainbeaa245, the commit it branches from, each from a clean checkout. Each build ran twice back to back; the blocks are the second runs. Themainblock is shared with the tester's reports on other PRs of the same base.Tester's AI use: Claude Code (Claude Opus 5.5) made the runs with the tester present and wrote the report from the script's output.
Not tested
AI use