Repository navigation
ng1: reduce resident DID decode latency - #748
Merged
techomancer merged 2 commits intoNov 15, 2026
Merged
Conversation
Decode one scanline per workgroup and let 64 lanes write disjoint packed DID words. Keep the serial shader as a hardware benchmark baseline and record interleaved Vulkan and D3D12 measurements.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
u32DID words instead of serial byte read/modify/write operations.This follows the review guidance on #731: DID decode is on the composition critical path, so the comparison targets latency rather than GPU utilization.
Measurements
NVIDIA RTX 5070, 1,280 x 1,024 DID map, four alternating rounds and 64 dispatches per round:
Vulkan in-pass timestamps were not credible and are excluded. The wall figures are submit-through-map time amortized per dispatch. This is a scheduler microbenchmark, not a claim that GPU DID expansion beats the CPU decoder end to end.
Scope
The resident Newport path remains test-only and gated. Display-off preservation, DID-disabled clearing, early line-table termination, malformed pointers, partial packed words, retained history, and the no-routine-readback contract are unchanged.
Validation
The resident gate passed all 65 required tests on Vulkan and D3D12 using an NVIDIA RTX 5070.