Repository navigation
Integrate fxceless round 4: indirect records gathered once per list (10.3 fps first rooms) #69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
b20cc06
Integrate fxceless round 4: scattered indirect records clamped once p…
Personed 2b910a8
gpu: disambiguate windows() doc links in the gather comments (rustdoc)
Personed bd2970f
gpu: ignore warp_budget test: cross-group budget charging order is ha…
Personed 555fb8b
gpu: keep the warp_budget test, relaxing only which records win the c…
Personed File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Stale indirect arguments after mesh emulation
A mesh emulation pass that writes later draw arguments can leave
gather_closeuncalled. Indirect emulation bypasses the cutoff, and direct emulation checks only graphics stages. Later draws then read the arguments from before the write.Devin left this for you to triage: Interaction of their opt-in gather with the mesh-emulation dispatch: only reachable with VICTORY_INDIRECT_GATHER on. If it ships as-is, an emulated mesh pass writing later draw args can leave stale indirect arguments; recommend a follow-up wiring gather_close into the emulation paths rather than a speculative patch in the integration PR.
Learn more
Gathered arguments are read by the prelude before the main list executes, so writes within that list must stop further gathering. execute_indirect returns through the emulation branch before it reaches the cutoff. That branch runs both an emulated compute dispatch and a graphics draw. dispatch_mesh calls
may_store, but the emulated pipeline keeps its compute stage separate from the graphics stages thatmay_storechecks.Example: An emulated mesh pass writes a later indexed draw’s instance count from zero to ten. If the indexed draw gathers, the prelude captures zero and the draw runs empty.
Recommended fix: Stop gathering before either emulated mesh path runs, or inspect both the emulated compute stage and the graphics stages before deciding to leave gathering open. Cover an emulated producer followed by a native indirect consumer in the same list.
Was this helpful? React with 👍 or 👎 to provide feedback.