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

Add validation to render graph for draw and compute lists. #88331

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

DarioSamo
Copy link
Contributor

While debugging #86267 I realized the graph could aid the process by adding some detection to identify if a resource is registered with multiple different usages during recording time. This helped to identify a missing barrier call on the compute list that could cause synchronization issues.

So as to not harm the existing performance of the function in release builds as it's a bit of a hot path, this error checking is only enabled in dev builds. This should not cause any functionality changes whatsoever.

@akien-mga akien-mga modified the milestones: 4.x, 4.3 Feb 15, 2024
@akien-mga akien-mga merged commit 8bbf512 into godotengine:master Feb 16, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

5 participants