You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(agc): tag dispatch IO traces with queue origin - #7010
Adds the queue ID and submission serial to each APS5_TRACE_DISPATCH_IO shader line. Those values identify which queue emitted the dispatch and match the identifiers used by [gpu] execute/done serial messages, addressing the attribution gap noted in #6284. This is diagnostic output only; it does not change dispatch behavior or claim to fix the reported AMD GPU hang.
Updates docs/dev/TRACING.md to describe the added fields.
Tested
Debian 12, GCC 12.2: compiled the changed Dispatch.cpp translation unit with the configured project compile command.
python3 tools/pr_overlap.py --branch codex/trace-dispatch-queue-origin: no overlap with open pull requests.
git diff --check: passed.
The full libSceAgcDriver target did not complete: an unrelated current-main error in shader/recompiler/Optimization/src/SrtWalker/SrtDescriptorEvaluation.cpp (read.read->Flags<MemoryFlags>()) stops the build before the target finishes.
No runtime capture or GPU test was run.
Checklist
Based on current main; no other open PR implements the same functions
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
I manually checked the overlap warnings for #5497, #5925 and #5958. Each touches Dispatch.cpp inside Driver::dispatch, but the hunks are distinct from this PR’s single [dispatch-io] formatting line: #5497 adds GPU key-fill recording around dispatch execution, #5925 adds a dispatch-cache early return, and #5958 changes shader invocation capture. No duplicate behavior is present. The automated comparison could not complete because of the base conflicts, so this is a manual file-level review rather than a clean merge test.
Checked the new fields against Submission (queue uint32, serial uint64, both in scope in Driver::dispatch), the printf formats and the TRACING.md wording; trace-only change, no behaviour impact. Merged.
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
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.
What
Adds the queue ID and submission serial to each
APS5_TRACE_DISPATCH_IOshader line. Those values identify which queue emitted the dispatch and match the identifiers used by[gpu] execute/done serialmessages, addressing the attribution gap noted in #6284. This is diagnostic output only; it does not change dispatch behavior or claim to fix the reported AMD GPU hang.Updates
docs/dev/TRACING.mdto describe the added fields.Tested
Dispatch.cpptranslation unit with the configured project compile command.python3 tools/check_conventions.py --base upstream/main: passed.python3 tools/pr_overlap.py --branch codex/trace-dispatch-queue-origin: no overlap with open pull requests.git diff --check: passed.libSceAgcDrivertarget did not complete: an unrelated current-main error inshader/recompiler/Optimization/src/SrtWalker/SrtDescriptorEvaluation.cpp(read.read->Flags<MemoryFlags>()) stops the build before the target finishes.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)