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

Added simple gfx trace system #559

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

KiritoDv
Copy link
Contributor

@KiritoDv KiritoDv commented May 6, 2024

This PR adds support for debugging display lists to detect corruption or invalid data

@Kenix3
Copy link
Owner

Kenix3 commented Aug 14, 2024

Add some ifdefs around all of this code and it can get in.

displayList->Instructions.push_back(command);

uint8_t opcode = (uint8_t)(command.words.w0 >> 24);
int8_t opcode = (int8_t)(command.words.w0 >> 24);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change from uint8_t to int8_t hiding in this PR feels a little scary to me. if using uint8_t here was a mistake i'd feel better having a separate PR fixing that so we can discuss that change, then this PR can focus solely on adding a feature.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that was a mistake i did because i copy/paste some things

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.

3 participants