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 cache resizes #9

Merged
merged 4 commits into from
Jul 15, 2019
Merged

Fix cache resizes #9

merged 4 commits into from
Jul 15, 2019

Conversation

hecrj
Copy link
Owner

@hecrj hecrj commented Jul 14, 2019

Fixes #7 and fixes #8.

This was quite a silly bug 😅 Basically, we were updating the old cache instead of the new one when a resize happened.

I have improved the internal API safety. Now, the Cache type does not leak outside Pipeline. Therefore, all mutations to it need to go through the Cache owner.

@rukai, let me know if the fix works for you!

@hecrj hecrj added the bug Something isn't working label Jul 14, 2019
This improves the API safety and protects against spooky action at a
distance.
@rukai
Copy link
Contributor

rukai commented Jul 15, 2019

Thanks!
Yep, this definitely fixes #7
#8 happens infrequently, I think its safe to assume it will be fixed by this as well. It can be closed.

@hecrj hecrj merged commit 40bc099 into master Jul 15, 2019
@hecrj hecrj deleted the fix/cache-resizes branch July 15, 2019 17:22
@hecrj hecrj added this to the 0.4.0 milestone Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vulkan validation errors + panic Gpu driver stops respnding on large scale.
2 participants