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

[Fix] WebGPU can give us async mapped buffer after the device was destroyed, handle it #5731

Merged
merged 1 commit into from Oct 9, 2023

Conversation

mvaligursky
Copy link
Contributor

@mvaligursky mvaligursky commented Oct 9, 2023

Fixes #5729

after we destroyed a device, gpu use buffers can be async mapped back to us, and the code uses null array pointer - so avoid this and simply ignore the buffer.

@mvaligursky mvaligursky self-assigned this Oct 9, 2023
@mvaligursky mvaligursky added bug area: graphics Graphics related issue labels Oct 9, 2023
@mvaligursky mvaligursky merged commit 08cdeec into main Oct 9, 2023
7 checks passed
@mvaligursky mvaligursky deleted the mv-dynbuffers-fix branch October 9, 2023 10:59
mvaligursky added a commit that referenced this pull request Oct 12, 2023
…troyed, handle it (#5731)

Co-authored-by: Martin Valigursky <mvaligursky@snapchat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WebGPU AppBase#destroy triggers reading-push-of-null error
2 participants