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

Command Recording doesn't properly handle pNext #102

Open
jeremyg-lunarg opened this issue Sep 10, 2024 · 0 comments
Open

Command Recording doesn't properly handle pNext #102

jeremyg-lunarg opened this issue Sep 10, 2024 · 0 comments

Comments

@jeremyg-lunarg
Copy link
Collaborator

The generated CopyArray() functions blindly copy pNext pointers which might no longer be valid when the command is later printed. Instead this code needs to copy the pNext chain similar to how the safe struct code does it. We can't use safe struct directly without either abandoning the custom allocator used by command recording, or adapting safe struct to support it.

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

No branches or pull requests

1 participant