M1: native Shader Model 6 wave-ops GPU differential gate (WARP + hardware) #15
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ProhorovIlja--NativeX-Runtime#15
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?
@ProhorovIlja on GitHub · 2026-11-21 21:42 UTC · original
After source-built CPU wave64 oracle (PR #8) and real Windows D3D12 WARP SM5 compute/readback (PR #11), the next missing evidence is actual GPU execution of wave instructions.
Acceptance
WaveGetLaneCount,WaveReadLaneAt,WaveActiveSum, ballot tests with deterministic CPU referenceD3D12_FEATURE_D3D12_OPTIONS1.WaveOpsandD3D12_FEATURE_SHADER_MODELbefore dispatch; mark unsupported/skipped without claiming passds_bpermutefallback behaviorBackground: Leonida #94, Leonida PR #204, Xbox2Windows #145. No game-specific shader blobs.
2026-11-22 verified progress
WaveGetLaneCount,WaveGetLaneIndex,WaveReadLaneAt(lane0)andWaveActiveSumcompiled by DXC and actually executed on desktop D3D12 WARP. Results checked against CPU reference; passed on public Windows runner (44953548531).0x1414, so this was correctly rejected as software/virtual; the amended test requires AMD0x1002, NVIDIA0x10DEor Intel0x8086and no software flag. Public runner subsequently SKIPPED the hardware test, while WARP passed (44954553642).Remaining: execute original test on real Windows hardware of each vendor with OS/driver/device IDs and saved logs; implement partial wave/ballot well-defined GPU fixtures; compare against RDNA2 opcode semantics separately.
@Yoshi-233 on GitHub · 2026-11-25 01:39 UTC · original
I can help test this on NVIDIA hardware. My current Linux machine has an entry-level GPU, and I’ve used it to verify Vulkan compute and raster readback. I also have a Windows PC at home with an RTX 4070 Ti SUPER.
I haven’t run the D3D12 Shader Model 6 wave-ops test yet. I can run it on the 4070 Ti SUPER and on WARP using the same commit, then post the driver version, the wave size reported by each adapter, and whether each run passed, failed, or was skipped. If I see a mismatch, I’ll include the expected and actual values so it’s easier to reproduce.