GPU: forward all dimensions of direct mesh dispatches #1431
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!1431
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1431"
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?
@ghptc on GitHub · 2026-11-28 19:46 UTC · original
ghptc:fix/nvidia-direct-mesh-grid→main· +43 −24 · 2 files · 1 commits · merged 2026-11-29 08:16 UTCSummary
The direct List6 entry currently replaces both Y and Z with one. It turns a 4 × 3 × 2 call into a 4 × 1 × 1 draw and produces geometry when Y or Z is zero.
Forward all three axes, preserve the NVIDIA fork's existing per-axis clamp and check the aggregate D3D12 limit in 64-bit arithmetic before recording the draw. The separate direct
DispatchMeshXentry supplies[x, 1, 1]. D3D12 group limitsThe direct forwarding behavior was proposed independently on the sibling project in Marvisak/VIctory #2624. The zero-axis case also overlaps #2014. This port keeps the NVIDIA bounds behavior and includes an exact-fork pixel comparison. Indirect record layouts are tracked separately in #996.
Physical regression
RTX 5070, NVIDIA 620.73.04, Proton Experimental 11.0-20261123b and VKD3D-Proton. The same generated mesh shader, four-texel texture and lighting produce a 99 × 65 RGBA8 image in both builds. The test compares every pixel after the submission fence. The baseline is NVIDIA main at
923e38cc8c92cd1c42090076382138538f2bb487. Both builds carry the identical diagnostics-only fixture.The CPU bounds test accepts 4,194,303 groups and rejects 4,194,304 without enqueueing an oversized grid. Both controls also check the original X clamp.
The generated fixture commit can be applied on either source revision. Build the Windows
victory-gpulibrary tests in release with--features diagnostics, setVICTORY_PC_DXCto Microsoftdxc.exeand run--exact pipeline::host::direct_mesh::direct_mesh_pixels --ignored --nocapture --test-threads=1. The CPU selector isdraw::tests::direct_mesh_grid_limits.The workload uses generated inputs and test-supplied descriptors. The measured result covers direct dispatch and offscreen pixel correctness on the stated stack.
@nick0451 on GitHub · 2026-11-28 21:44 UTC · original
A smoke test in play: RTX 3090 24 GB (driver 610.88), i9-14900K, Windows 11. A release build of this PR merged onto main
923e38c, run in turn with main and three other PR builds. Series S, DLSS Performance, frame generation off. The same frozen save, outdoors on a balcony, standing still. Two rounds, each run 40 s to settle and 60 s measured, then a screenshot.ERRORline. The picture matches main (mean pixel difference against main 1.8, inside the run-to-run variation), and the draws per frame are the same.[x, 1, 1]. A scene with the mesh geometry you saw wrong would be the real test.Tested with an AI assistant (Claude Code); results are from this PC.