Skip to content

Conversation

CedricGuillemet
Copy link
Contributor

// Finalize rendering here & push the command buffer to the GPU.
[currentCommandBuffer commit];

[currentCommandBuffer waitUntilCompleted];
Copy link
Member

Choose a reason for hiding this comment

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

What validation error does this fix? I don't think this is good for perf. I think we used to do this and tried to get rid of it, because it blocks this thread until the command buffer has been executed by the gpu.

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 know but I'd like to narrow down the issue to see if it's this command buffer that's causing all the crashes.

@CedricGuillemet CedricGuillemet marked this pull request as draft July 17, 2024 15:58
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