Windows 11 / RTX 5070 and Radeon iGPU — D3D12 wave test results #1318
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#1318
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@rrodriguezpiqueras-beep on GitHub · 2026-11-24 17:23 UTC · original
Windows 11 / RTX 5070 and Radeon iGPU — synthetic D3D12 wave tests
I ran synthetic D3D12 tests on an RTX 5070, the integrated Radeon GPU
and Microsoft WARP. The tests cover device capabilities, pipeline
creation and compute shader execution with GPU buffer readback.
Test environment
ffe310eb2098e52169f4c44db5ffdabf43a726221. Device capabilities and pipeline creation
Each adapter was opened explicitly through DXGI. The probe queried
the shader model, wave lane range and mesh shader tier, then tried
to create SM 6.6 compute and mesh pipelines.
The rejected pipeline creations returned
0x80070057(E_INVALIDARG).The RTX 5070 accepted the Wave32 compute pipeline and rejected the
Wave64 pipeline. Its reported wave lane range was 32–32. The
integrated Radeon reported 32–64 and accepted both compute variants.
This test only created pipeline state objects. It did not submit
GPU commands.
2. Compute execution and buffer readback
A second test dispatched an original SM 6.6 compute shader.
Each dispatch used one group of 128 threads. Every thread wrote:
WaveActiveSum;WavePrefixSum.The test read the buffer back and checked each thread's values.
Fixed wave sizes outside the adapter's advertised range were skipped.
All seven dispatches passed. The test verified 896 thread records
in total.
As a negative control, I supplied the Wave32 shader in place of
the Wave64 fixture on the Radeon. The test failed as expected
because it observed 32 lanes where the fixture required 64.
3. VIctory shader test suite
After adding the readback test, the ordinary
victory-shadersuitereported:
The new readback test is ignored during the ordinary suite and was
run separately on each of the three adapters. Four existing
console-compiler-dependent tests returned early because the console
compiler was unavailable.
Strict Clippy for
victory-shaderwith all features passed.The repository asset-policy check also passed.
Scope and reproducibility
The readback test uses native PC DXIL compiled from synthetic HLSL.
It verifies D3D12 wave operations and buffer readback on these
adapters. It does not establish how translated game shaders behave.
The local readback test commit is
b885020. Its patch was checkedfor clean application against base revision
ffe310e. The patchand reproduction instructions are currently local and can be shared
if useful.
No game files were used for these tests.
@Ingenioeren on GitHub · 2026-11-24 21:28 UTC · original
I added a discrete AMD data point and checked the case where some lanes are inactive. On an RX 6750 XT (RDNA2, driver
32.0.21045.29003, Windows 11 build 26200), the device reported SM 6.8, wave range 32–64, and mesh shader tier 1. The test used the Windows SDK DXC 1.7 and VIctory's compute/readback helper atffe310e. Test helper · D3D12 mesh tier valuesEach dispatch used 128 threads. Only threads satisfying
SV_GroupIndex < 93 && WaveGetLaneIndex() % 3 != 1entered the branch with integerWaveActiveSumandWavePrefixSum. CPU verification grouped the readback by the wave's first group index and recomputed both operations in lane order. All 640 records matched, including the sentinel values for inactive lanes. Mesh tier was queried as a capability. The actual dispatches were compute-only.AI-assisted. The probe compiled original PC HLSL and used no game data.
@Marvisak on GitHub · 2026-11-25 10:15 UTC · original
Automated triage for the maintainers.
Thanks for the synthetic data (RTX 5070, Radeon iGPU and WARP; RX 6750 XT in the comment). No title was run, so this is a host-capability data point. It matches what
mainexpects:Lower::newincrates/victory-shader/src/emit/lower.rsdeclares the console's 64-lane wave size for programs that depend on lane layout, and a host reporting 32..32 lanes, like the RTX 5070 here, refuses those pipelines withE_INVALIDARG. The README says some compute programs need a GPU with 64-lane waves. Hosts with 32..64 (the Radeon parts here) accept them. Work on wave64 for 32-lane hosts is in open PRs #439, #189 and #1929, and is compared in #1132.If you want the readback test in the repository, please open a pull request with it (they are open to everyone). Note that the shader test host currently picks the first hardware adapter (#1132), so state which adapter each run used.
Generated by Claude Code