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

Account for pool change on texture bindings cache #3420

Merged
merged 2 commits into from Jun 25, 2022

Conversation

gdkchan
Copy link
Member

@gdkchan gdkchan commented Jun 25, 2022

#3399 tries to avoid texture binding updates if the state does not change, however it has one flaw, it checks if the texture and sampler IDs changed, and checks if the pool contents changed, but it does not check if the pool itself changed. This causes issues for games that changes the pools but keeps the same bindings. This seems pretty rare so I believe the number of games affected by the regression is low.

Fixes regression on Super Zangyura.
Before:
image
After:
image

Closes #3419.

@gdkchan gdkchan added gpu Related to Ryujinx.Graphics fix Fix something labels Jun 25, 2022
@marysaka marysaka requested a review from riperiperi June 25, 2022 02:41
@AcK77 AcK77 merged commit 625f5fb into Ryujinx:master Jun 25, 2022
@gdkchan gdkchan deleted the pool-change branch June 25, 2022 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Fix something gpu Related to Ryujinx.Graphics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Super Zangyura - Graphical regression, almost all textures are garbage and flickery
3 participants