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

iOS AR Metal Validation Error #1403

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

CedricGuillemet
Copy link
Contributor

@@ -946,6 +946,8 @@ void UpdateXRView(MTKView* activeXRView) {

// 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