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

Another fix for crashing with VK_DEVICE_LOST #3404

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

mtytel
Copy link
Contributor

@mtytel mtytel commented Jan 29, 2025

I was still getting some VK_DEVICE_LOST crashes and this fixes it. Followed some changes from 01af383#diff-4fe4dacbf31bf95719870316660d20e1deca6ebbfa3f39c6b2b8b0b302d629f9

@mcourteaux Does this look right to you?

@mcourteaux
Copy link
Contributor

I'll take a look at it tomorrow most likely. You change looks plausible. It's been a while since looked into this. Could you break down why this change would be correct?

@mtytel
Copy link
Contributor Author

mtytel commented Jan 29, 2025

The same reason you put this comment in.
01af383#diff-4fe4dacbf31bf95719870316660d20e1deca6ebbfa3f39c6b2b8b0b302d629f9R7919
The given width and height might not be what we requested.

@mcourteaux
Copy link
Contributor

I took some time to think about it, and it looks 100% reasonable that that would also be required. @bkaradzic I think this can be merged. I haven't tested anything, but the change looks correct.

@bkaradzic bkaradzic merged commit 736bffa into bkaradzic:master Jan 31, 2025
10 checks passed
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.

3 participants