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
Remove the restriction to use efb copies only once as partial update #3752
Remove the restriction to use efb copies only once as partial update #3752
Conversation
I'm not entirely sure what is happening, but this optimisation is causing an issue in Sonic Riders: Zero Gravity. Apparently the issue would also be fixed by PR#3747, but this PR should also fix similar issues. Games that use partial updates might get slower with this, so some performance regression testing would be nice. Games like New Super Mario Bros, RS2, Zelda TP and Silent Hill. Testing with high graphics settings makes sense, since this would mostly end up in more work for the GPU.
|
Fixes Sonic Riders/Sonic Riders Zero Gravity on EFB Copies to Texture |
|
5.0 candidate? |
|
Both games worked on EFB Copies to Texture in 4.0, so I think we should consider it. But, these games aren't totally broken without this, so, if we find any reason not to merge it then it's not an absolute make or break feature. |
|
I'd stil like some performance regression testing on this. But i don't know what i was thinking when i mentioned RS2 and Zelda TP, those don't use partial updates. |
|
New Super Mario Bros. Wii - Master - 257 - 260 fps Note 3x IR |
|
So the downside of this is that same partial texture might be created multiple times? |
|
Yes, it would do the same thing possibly several times. This could be optimised of course, but thinking about the 5.0 release, i wanted to make something that is less likely to miss something. |
|
Yeah, this is fine for now and doesn't show major performance impacts. Optimization can be done later. LGTM |
|
Reviewed 1 of 1 files at r1. Comments from the review on Reviewable.io |
|
LGTM |
|
Reviewed 1 of 1 files at r1. Source/Core/VideoCommon/TextureCacheBase.cpp, line 311 [r1] (raw file): Source/Core/VideoCommon/TextureCacheBase.cpp, line 319 [r1] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 2 unresolved discussions. Source/Core/VideoCommon/TextureCacheBase.cpp, line 311 [r1] (raw file): Comments from the review on Reviewable.io |
|
All checks have passed... I look at ye with the merge rights with accusing eyes. |
I'm not entirely sure what is happening, but this optimisation is causing an issue in Sonic Riders: Zero Gravity. Apparently the issue would also be fixed by PR#3747, but this PR should also fix similar issues.
Games that use partial updates might get slower with this, so some performance regression testing would be nice. Games like New Super Mario Bros, DK Returns and Silent Hill. Testing with high graphics settings makes sense, since this would mostly end up in more work for the GPU.
This change is