Skip to content
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

Show IB packets as children of INDIRECT_BUFFER packet #33

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

shanminchao
Copy link
Collaborator

@shanminchao shanminchao commented Oct 30, 2023

This puts all IB packet nodes as children of the INDIRECT_BUFFER packet, and introduces an IB-Level column.
This makes it significantly easier to see the structure of the IBs at-a-glance, and allows for the collapsing of entire IBs by clicking on the arrow next to the INDIRECT_BUFFER packet.

The changes are non-trivial since it required modifying some underlying assumptions (e.g. can now have shared packets as children of other shared packets)

image

@shanminchao
Copy link
Collaborator Author

The next step is to apply these changes to the set_draw_state packet. That part isn't done yet in this PR.

@shanminchao shanminchao force-pushed the ib_subpacket branch 3 times, most recently from 7cb5648 to a3f5cd3 Compare October 30, 2023 22:01
dive_core/common/emulate_pm4.cpp Show resolved Hide resolved
dive_core/command_hierarchy.cpp Outdated Show resolved Hide resolved
dive_core/command_hierarchy.h Outdated Show resolved Hide resolved
@wangra-google
Copy link
Collaborator

This puts all IB packet nodes as children of the INDIRECT_BUFFER packet, and introduces an IB-Level column. This makes it significantly easier to see the structure of the IBs at-a-glance, and allows for the collapsing of entire IBs by clicking on the arrow next to the INDIRECT_BUFFER packet.

The changes are non-trivial since it required modifying some underlying assumptions (e.g. can now have shared packets as children of other shared packets)

image

this is really cool! :D

@shanminchao shanminchao force-pushed the ib_subpacket branch 2 times, most recently from ce3b838 to d21a659 Compare October 31, 2023 17:23
@shanminchao shanminchao merged commit d4f15bb into google:main Oct 31, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants