Repository navigation
Conversation
|
AMD native wave64 run (listed as untested), plus an RTX 3060, paired against Head
Per-test comparison: on both cards the only differences are the 2 new tests ( Not tested: the newly split |
|
Ran the split-compute tests at Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, wave32 only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09) MSVC 14.44.35207, DXC 1.9.2609.5, debug build. All ten tests pass, including What this adds: the author tested an Ada RTX 4070 SUPER with DXC 1.8.2502.11; this is a Blackwell wave32 part with DXC/DXIL 1.9.2609.5. No test report exists in the thread yet. Not tested: the whole workspace suite, the retail shader corpus validation, the cold PSO compile A/B, a paired 60 s smoke run, AMD/native wave64 and Intel GPUs, Wine, release profile, title data. AI-assisted (OpenCode), model: DeepSeek V4.1 Flash Free - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used. |
|
Tested: current PR head merged onto current One red on this lane: the new group-shapes test crashes at the same
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. |
|
Re-tested commit Environment
Results
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Diff review (wave32 group-shape checks) and CI look clean, and Windows native/split coverage is solid, but holding merge until the deterministic |
|
@raylitebull That
All native Windows reports here (AMD RX 9070 XT wave64, NVIDIA RTX 5070 Ti / 5070 / 4070 SUPER / 3060 Ti / 3060) are green, so this isn't a regression from #2349. |
bmjask
left a comment
There was a problem hiding this comment.
No concrete source-level defect found. The admission gates exclude partial/LDS groups, continuation identity is correct across admitted group shapes, and the GPU parity coverage is substantial; current CI and AMD/NVIDIA reports are green. Residual validation gap: no retail-title exercise of the newly admitted 2-D/3-D group shapes and no Intel run. Those should remain explicit, but I found no merge blocker.
|
@saintwolf I published the tested main integration branch in This preserves main's #2371 scratch-slot reuse hook while using the full threadgroup size for scratch. The tests include four wave32 group shapes and the existing divergent-edge regression, with the reuse hook checked both enabled and disabled. Local result: 6 passed, 0 failed, 0 ignored, 0 explicit skips on the RTX 3060 Ti. Each exact filter ran separately with AI use: Codex (GPT-6) resolved the conflict and verified the focused checks. Optional temporary Discord for coordinating contributor work, testing, and comparing results. |
Single-wave 2D/3D native wave32 compute groups (y * z > 1, total <= 32) no longer allocate @xcl_wt or emit the wave-index atomic and barriers, since tid equals WaveGetLaneIndex(). Multi-wave 2D/3D groups also skip the trailing barrier unless sharing xcl_lds[8191]. Extend direct DXIL compute dispatch splitting to all full-wave native wave32 threadgroup shapes without guest LDS (total >= 32, total % 32 == 0): size per-group scratch by total threads, preserve @xcl_wt only as the wave-ID prefix for multi-wave 2D/3D groups while gating the wave64 exchange state machine on xcl_xs, select FlattenedThreadIdInGroup() for multi-wave 1D groups, and recompute Feature::WaveOps per piece so pieces without wave ops validate. Part of xcl-dev#1269, xcl-dev#2088. Assisted-by: Antigravity (Gemini 4 Neon) Resolve the merge conflict against current main 8b957be. Keep main’s scratch-slot reuse hook and the PR’s full threadgroup sizing. Original-PR: xcl-dev#2349 Original-commit: 63131c6 Assisted-by: OpenAI Codex (GPT-6)
63131c6 to
6aa4e2f
Compare
|
@Prime1997 Thanks for resolving the conflict on
|
|
Independent RTX 4060 (8 GB) / Windows 11 release verification of PR #2349 rebased head Setup
Targeted RTX 4060 release unit & GPU tests (
|
|
Tested head
Not tested: retail title. AI-assisted (Claude Code, Claude Sonnet 5.5 ran the tests; Claude Opus 5.5 ran the reruns, checked and posted). |
|
Tested: Clean Not tested: Native wave64, [4,8,1] groups, workspace suite, retail smoke and performance. AI use: T3 Code / Codex ( |
|
NVIDIA and AMD full-suite run, to go with the reports above by Decodere, JJAutoCompare, upipibi, since none of them covers AMD. Tested exact head Tested
Not tested
AI use
|
Single-wave 2D/3D native wave32 compute groups (y * z > 1, total <= 32) no longer allocate @xcl_wt or emit the wave-index atomic and barriers, since tid equals WaveGetLaneIndex(). Multi-wave 2D/3D groups also skip the trailing barrier unless sharing xcl_lds[8191]. Extend direct DXIL compute dispatch splitting to all full-wave native wave32 threadgroup shapes without guest LDS (total >= 32, total % 32 == 0): size per-group scratch by total threads, preserve @xcl_wt only as the wave-ID prefix for multi-wave 2D/3D groups while gating the wave64 exchange state machine on xcl_xs, select FlattenedThreadIdInGroup() for multi-wave 1D groups, and recompute Feature::WaveOps per piece so pieces without wave ops validate. Part of xcl-dev#1269, xcl-dev#2088. Assisted-by: Antigravity (Gemini 4 Neon) Resolve the merge conflict against current main 8b957be. Keep main’s scratch-slot reuse hook and the PR’s full threadgroup sizing. Original-PR: xcl-dev#2349 Original-commit: 63131c6 Assisted-by: OpenAI Codex (GPT-6) # Conflicts: # crates/xcl/src/gpu/dxil/kernel.rs
|
merge-check
verdict: not yet: code correctness, full test suite, live GPU parity tests, and 60 s startup smoke are clean, but the 60 s menu smoke issued 0 chained dispatches and cannot refute the measured -18% presents / -26% draws in-world regression reported on RTX 3090 for this default-on change; isolate the in-world cost (wider split vs single-wave 2D/3D tid) or verify with paired in-world A/B runs before enabling by default |
|
@saintwolf an earlier version of this commit reached main today with #3655 ( AI use: Claude Code (Claude Opus 5.5) ran the checks and wrote this. |
… ops whole SM 6.6 only guarantees thread order within 1-D quads, not quad-to-wave assignment across dispatches. Keep multi-wave 1-D native wave32 compute shaders (prefix.is_empty() && total > 32) whole when any live dx.op.wave* or dx.op.quad* call is present (ignoring setup_lanes_compute's unused waveGetLaneIndex), and add multi_wave_1d_wave_ops_decline_split. Assisted-by: Antigravity (Gemini 4 Neon)
04f0bb6 to
790f252
Compare
|
Thanks @fromthemoonx! Rebased onto
AI use: Antigravity (Gemini 4 Neon) rebased the branch, ran the tests and 60 s smoke, and drafted this reply. |
|
Follow-up review (head 790f252, since 04f0bb6, diff read, not a merge-check):
New:
Fine: the guard only declines splits, so the default falls back to the whole shader; the AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
|
Two factual corrections to the automated review above:
Ready for human maintainer / merge-check review on AI use: Antigravity (Gemini 4 Neon) drafted this reply. |
|
merge-check
main 5eaadb5: this PR 790f252 (clean checkout): verdict: safe to merge |
|
Linux / AMD RDNA4 (RADV, Wine + vkd3d-proton): full test suite on Merged onto Setup
Tested:
About the failures on
|
|
merge-check Same settings on main 5ad98ad, two runs: into the world at 94 s with 145 s there and no frame presented (ran to the 240 s limit); into the world at 80 s with 59 s there and 90 frames, then stopped by our RAM guard (free RAM under 1 GB). "In the world" here means the first 2 s window of the activity log with 5,000+ draws and dispatches. AI use: Claude Code (Claude Opus 5.5) ran the build, tests and title runs and wrote this; a Claude Sonnet subagent read the diff and I checked its points. |
An earlier version of this PR's native wave32 compute-splitting changes reached
mainvia#3655(e7f68192), without the SM 6.6 multi-wave 1-D wave/quad guard from04f0bb6f. This PR is now rebased ontomain(5eaadb54) and narrowed to that guard and its tests (+81/-5insplit.rsonly). Part of #1269, #2088.What is in it
crates/xcl/src/gpu/dxil/module/split.rs:prefix.is_empty() && total > 32) whole whenever any livedx.op.wave*ordx.op.quad*call is present (ignoringsetup_lanes_compute's unuseddx.op.waveGetLaneIndex), because SM 6.6 only specifies thread order within 1-D quads and does not guarantee identical quad-to-wave assignment across dispatches without a wave-ID prefix.multi_wave_1d_wave_ops_decline_splitverifying that wave-free[128, 1, 1]shaders still split and validate, while[128, 1, 1]shaders with liveWaveReadLaneFirstorWaveGetLaneIndexstay whole.dispatch_chain_native_wave32_group_shapes_match_wholeso the[128, 1, 1]multi-wave 1-D case tests a wave-free shader (while single-wave[8, 4, 1]/[4, 4, 2]and prefix-bearing[8, 8, 1]continue exercisingWaveReadLaneFirstacross cuts).Tested
32.0.16.2140), AMD Ryzen 7 7800X3D,rustc 1.100.0 (0ef1bc386 2026-11-09), DXC/DXIL1.8.2502.11.cargo test -p xcl --lib gpu::dxil:: -- --test-threads=4on790f252f: 353 passed, 0 failed, 4 ignored (includingmulti_wave_1d_wave_ops_decline_splitanddispatch_chain_native_wave32_group_shapes_match_whole).cargo build --release -p xcl: clean build.Regression run
Not tested
790f252f(covered by CI).AI use
main(5eaadb54), rangpu::dxil::tests and the 60 s head smoke, and updated this description.