Repository navigation
Conversation
|
Independent RX 6800M (RDNA2 native wave64) verification of exact PR head Environment: Windows 11 build 26200; Ryzen 9 5980HX; Radeon RX 6800M driver Clean exact-head tests: Each of the three added
Local native-wave64 extension: On the same PR production code, I changed only the pixel-shader parity fixture: asserted Limits: Focused synthetic tests only. I did not run the full workspace suite, an owned-title smoke pair, runtime pixel-shader timing, Intel, or Linux/Wine on this head. AI use: OpenAI Codex (GPT-6; exact variant not exposed in this session) ran the native Windows tests, made and restored the fixture-only wave64 diagnostic, checked the clean exact head, and drafted this report. No game data was used. |
ea02576 to
83fc1bd
Compare
|
Force-pushed the same commit as my username and e-mail was not correct for this GH account |
|
NVIDIA run, to go with luckyteagirl's RDNA2 one. Exact head
The two extra passes are this PR's new GPU tests. The only Not tested: a title, the whole workspace. AI-assisted (Claude Code). Synthetic tests only. |
|
Independent AMD report for Tested
Not tested Wave64-only hardware, other adapters, a title whose shaders use these quad swizzles/DPP forms (the smoke run only shows no regression). AI use Claude Code (Claude Sonnet 5.5) ran the tests and the smoke runs and wrote this report. No game files, dumps or shader names are included. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
…xcl-dev#2316) Decode half, verbatim: swizzle_quad_map (quad-permute 0x8000..=0xBFFF or bit mode with upper bits 4:2 preserved), dpp16_quad_map (quad_perm 0x000..=0x0FF, row_xmask 0x160..=0x163) and dpp8_quad_map (lanes 0..4 into 0..4, same relative map on 4..8). The SPIR-V port lowers these maps to subgroup quad ops instead of cross-wave reads; the DXIL quad-op emit half stays out.
|
@saintwolf I published the tested main integration branch in Main's #2173 dot-product test and #2368 root-UAV load tests stay in place. The branch also includes all three of your shader quad/DPP tests. The three main checks and three PR checks all passed. 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. |
In Direct DXIL pixel shaders, quad-local ds_swizzle_b32, DPP16, and DPP8 reads previously went through Lw::rla(), emitting 5 WaveReadLaneAt, 1 WaveActiveBallot, 4 QuadReadLaneAt, and ~40 select/bit ops only to discard the cross-wave path via same_quad. Add Lw::quad_lane and Lw::read_lane_quad to emit single-instruction QuadOp (ReadAcrossX/Y/Diagonal), single QuadReadLaneAt broadcasts, identity pass-through, or minimal distinct QuadReadLaneAt selects in pixel shaders while keeping WaveReadLaneAt in non-pixel stages. Also fold constant DPP16 ROW_MASK/BANK_MASK (0xF/0x0), FI=1, and always-valid controls. Measured on 498 sampled retail shaders (seed 7, up to 100 KB, all 498 dxil.dll validated): total DXIL -724 KB (-1.59%), 234 PS -719 KB (-3.28%, up to -8.2%), WaveReadLaneAt in quad-heavy PS cut by 57-100%. Assisted-by: Antigravity (Gemini 4 Neon) Resolve the merge conflict against current main 8b957be. Preserve the main packed-dot and root-UAV fixtures alongside the exact PR tests. Original-PR: xcl-dev#2316 Original-commit: 83fc1bd Assisted-by: OpenAI Codex (GPT-6)
83fc1bd to
2234832
Compare
|
@Prime1997 Thanks for resolving the conflict on
|
|
RX 9070 / Linux-Wine verification of current head Tested RX 9070 (RADV GFX1201), Mesa Separate source copies and targets, built with The exact head's parent is
All 10 harness invocations had 0 ignored and 0 capability skips. Main's sole failure was the transplanted The original IR test passed on the head for both pixel translation settings: the symmetric quad program emitted 4 The added fixtures were:
The captured fixtures produced 40 draws and 20 compute dispatches, including 12 native-wave64 dispatches. A separate verifier checked 5,120 fullscreen RGBA words and 5,120 DPP register words against independent formulas, with zero mismatches on either source. It also checked 5,120 diagonal RGBA words for direct/HLSL and cross-revision parity, plus the triangle's 28-pixel coverage mask. The six HLSL PS/CS control cases stayed byte-identical across revisions and repetitions. For the diagonal fixture, the covered pixels Environment: Not tested Full workspace suite, retail shader corpora, smoke/title runs, merged-tree execution, physical graphics wave size, independent console helper-lane semantics, shader/PSO execution timing, or FPS/performance. Small owned synthetic shaders and inputs only. AI use OpenAI Codex (GPT-6; exact serving variant not exposed) reviewed the full diff, prepared the added fixtures and observations, built and ran both sources, independently checked source bytes, IR, GPU outputs and coverage, and wrote this report. Publication authorized by the account owner. |
|
Independent RTX 4060 (8 GB) / Windows 11 release verification of PR #2316 rebased head Setup
Targeted RTX 4060 release unit & GPU tests (
|
|
Tested Clean
Four passed, zero failed, ignored, or skipped. The two Arc processes used Not tested Actual hardware lane width, native wave64 GPU execution, performance, the full workspace, and retail smoke. AI use T3 Code / Codex ( |
Direct DXIL pixel shaders previously routed every quad-local
ds_swizzle_b32,DPP16, andDPP8read throughLw::rla(), emitting 5WaveReadLaneAt, 1WaveActiveBallot, 4QuadReadLaneAt, and ~40 bit/select ops only to discard the cross-wave path viasame_quad. Because wave intrinsics are notReadNone,opt.rsDCE could not remove the unused cross-wave calls.DPP16also emitted non-foldableROW_MASK/BANK_MASKshifts even for0xF/0x0andSGe/imaxchecks for always-valid controls.This lowers quad-local reads in pixel shaders directly to
dx.op.quadOp(ReadAcrossX/Y/Diagonal), singledx.op.quadReadLaneAtbroadcasts, identity pass-through, or minimal distinctdx.op.quadReadLaneAtselects (keepingWaveReadLaneAtin non-pixel stages), and folds constantDPP16mask/validity checks across all stages. Part of #1269.What is in it
crates/xcl/src/gpu/dxil/lanes.rs: addLw::quad_laneandLw::read_lane_quad.crates/xcl/src/gpu/dxil/lower_mem.rs: addswizzle_quad_map(quad permute0x8000..=0xBFFFand quad-preserving bit-mode< 0x8000) and routeds_swizzle_b32throughread_lane_quad/quad_lane.crates/xcl/src/gpu/dxil/lower_valu.rs: adddpp16_quad_map(0x000..=0x0FF,0x160..=0x163) anddpp8_quad_map, route quad-local DPP16/DPP8 throughread_lane_quad, and specialize constantROW_MASK/BANK_MASK,FI=1, and always-validDPP16controls.crates/xcl/src/gpu/dxil/core_tests.rs: addps_quad_local_swizzle_and_dpp_emit_direct_quad_ops(validation + intrinsic counts for PS wave32/wave64 and VS),gpu_ps_direct_quad_swizzle_and_dpp_match_hlsl(fullscreen + diagonal helper-lane GPU parity vs HLSL), andgpu_direct_dpp16_row_bank_masks_and_fi_zero.Tested
32.0.16.2140, wave32), AMD Ryzen 7 7800X3D, Windows 1126300,rustc 1.100.0 (0ef1bc386 2026-11-09), DXC/DXIL1.8.2502.11(Windows SDK10.0.26100.0)..\scripts\test.ps1(cargo build --workspace+cargo test --workspace -- --test-threads=4, debug): 1,253 passed, 0 failed, 46 ignored across 23 test binaries.SKIPPEDon this adapter: 20no wave64, 3 per-lane#1426refusals (V_CVT_F16_F32,V_PK_MUL_F16,V_MUL_F16), 1no heap windows, 1no xgameruntime.dll, 1cannot disable the driver cache (0x887A002D). All 3 new tests passed with 0 skips.xcl shaders <pack> --direct --sample 500 --seed 7 --max-bytes 100000 --validate --threads 8, release): 498 / 498 translated anddxil.dll-validated (0errors; 158 shrunk, 0 grew).45,499,896 -> 44,775,836 B(-724,060 B,-1.59%).21,949,800 -> 21,230,816 B(-718,984 B,-3.28%, up to-8.2%).WaveReadLaneAt/QuadReadLaneAt/QuadOp):11441aa968b462c5:512,956 -> 476,504 B (-7.1%),71,004 -> 66,688 (-6.1%),wrla 996 -> 191,qrla 481 -> 290,qop 0 -> 28fd955a83b812406b:596,476 -> 562,964 B (-5.6%),77,221 -> 72,929 (-5.6%),wrla 1,181 -> 506,qrla 545 -> 414,qop 0 -> 7774552a952e99a89:402,548 -> 374,256 B (-7.0%),57,024 -> 53,737 (-5.8%),wrla 891 -> 231,qrla 473 -> 209,qop 0 -> 112529d8f27da1a3874:344,304 -> 316,136 B (-8.2%),49,239 -> 45,962 (-6.7%),wrla 826 -> 166,qrla 421 -> 157,qop 0 -> 112237c90ea491571f1:249,228 -> 232,848 B (-6.6%),35,525 -> 33,279 (-6.3%),wrla 316 -> 0,qrla 165 -> 58,qop 0 -> 7CreateGraphicsPipelineStateon the 6 largest affected pixel shaders (2 alternating cold trials each with fresh exe basename; warm 2nd calls0.1-0.2 ms): sum41,387.9 ms -> 41,509.5 ms(+0.3%, neutral within noise on NVIDIA).Regression run
main:PR head:
Not tested
XCL_DIRECT_DXIL=all.XCL_SAMPLE_*env vars unset during.\scripts\test.ps1).AI use