-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Add compat flag / bug check for games on old Adreno/GL affected by #16015 #16422
Conversation
@@ -186,6 +186,12 @@ u32 GPU_GLES::CheckGPUFeatures() const { | |||
features |= GPU_USE_SINGLE_PASS_STEREO; | |||
} | |||
|
|||
if (draw_->GetBugs().Has(Draw::Bugs::ADRENO_RESOURCE_DEADLOCK)) { | |||
if (PSP_CoreParameter().compat.flags().OldAdrenoPixelDepthRoundingGL) { | |||
features |= GPU_ROUND_FRAGMENT_DEPTH_TO_16BIT; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CheckGPUFeaturesLate()
might add another flag (like GPU_ROUND_DEPTH_TO_16BIT
or GPU_SCALE_DEPTH_FROM_24BIT_TO_16BIT
), not sure if this is really a problem or not, though. In theory those flags can coexist...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I'll re-order it to do it after CheckGPUFeatureLate, and also check for vendor workarounds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Forgot to add this games (OpenGL) Certain Games Crashes With ADRENO GPU 3xx and 5xx series #16015 (comment) in compat.ini
…6015 See #16015 Partly derived from master...unknownbrackets:ppsspp:adreno-deadlock But this one surgically activates it only for the known affected games, to avoid any additional performance regressions in the release. Entirely untested.
491ed12
to
9bc0d66
Compare
@Gamemulatorer Done! |
Yeah, that's a good idea. |
This seems doesnt work correctly in adreno 306 I got freeze in Naruto Shippuden, Phantasy Star Portable 1 and 2 using my vivo y51a snapdragon 410. |
See #16015
Partly derived from master...unknownbrackets:ppsspp:adreno-deadlock
But this one surgically activates it only for the known affected games, to avoid any additional performance regressions in the release. Ugly, but not sure what else to do given the nebulous nature of the driver bug.
Entirely untested.