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

InputCommon: fix potential dynamic input texture crash and an optimization #9488

Merged

Conversation

iwubcode
Copy link
Contributor

@iwubcode iwubcode commented Feb 3, 2021

There was the possibility that a dynamic input texture change would cause a reload of textures while the prefetcher was sorting through them. This would cause a crash.

Also for packs with multiple configurations, we were calling force reload too many times

…ntial crash that can occur by multiple threads touching a single resource
…d textures once for packs that have multiple configurations
@iwubcode iwubcode force-pushed the dynamic-input-tex-optimizations branch from d9e1ff4 to ce7db2e Compare February 12, 2021 01:24
@iwubcode
Copy link
Contributor Author

@leoetlino - done!

@leoetlino leoetlino merged commit 38935f2 into dolphin-emu:master Feb 12, 2021
9 checks passed
@iwubcode iwubcode deleted the dynamic-input-tex-optimizations branch February 12, 2021 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants