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

Avoid PGRAPH register usage analysis in tracing code #32

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JayFoxRox
Copy link
Member

@JayFoxRox JayFoxRox commented Jun 9, 2019

The actual tracing code in nv2a-trace should know as little as possible about the GPU.
All decoding and analysis tools should be separate or be integrated from separate code using some interface (like callbacks).

However, the existing code did a diff between PGRAPH register dumps as part of the command processor. This breaks this design goal.

This PR modifies it so the state is only written to disk.
A new tool to compare register dumps can be created later, based on the removed code (or written from scratch).

Similar changes are planned for the texture and surface dumping in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant