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

GS/Vulkan: Release swap chain images on acquire fail #11445

Merged
merged 1 commit into from
Jun 24, 2024
Merged

GS/Vulkan: Release swap chain images on acquire fail #11445

merged 1 commit into from
Jun 24, 2024

Conversation

stenzek
Copy link
Contributor

@stenzek stenzek commented Jun 23, 2024

Description of Changes

When image acquire returns suboptimal, apparently we should release the swap chain image we just acquired, because apparently that doesn't happen implicitly on creation of a new swap chain? (if you're transferring, not destroying/creating).

Rationale behind Changes

Related to #11280.

Suggested Testing Steps

See if the leak/driver crash occurs.

@AmyRoxwell
Copy link

Would need to test this a lot but for what I had test it doesn't seem to cause arch linux to have a mental collapse

@stenzek stenzek merged commit 4924d8c into PCSX2:master Jun 24, 2024
12 checks passed
@stenzek stenzek deleted the release branch June 24, 2024 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants