Commit Graph

2973 Commits

Author SHA1 Message Date
Henrik Rydgård
23ba0d0515 Fix layout issues in AbstractChoiceWithValueDisplay. Remove title text from post shaders to fit. 2022-11-25 10:23:59 +01:00
Henrik Rydgård
d97035fffc
Merge pull request #16434 from unknownbrackets/stencil-opt
Vulkan: Use stencil export when available
2022-11-25 10:06:41 +01:00
Unknown W. Brackets
9fcccd789a Vulkan: Correct displayed depth/stencil format.
Also corrects handling of non-24 bit depth when reducing the range.
2022-11-24 19:09:42 -08:00
Unknown W. Brackets
b33662550f Vulkan: Use stencil export when available.
This prevents multiple passes to upload stencil buffers.
2022-11-24 18:48:46 -08:00
Henrik Rydgård
55b1dc6ef4 Warning fixes 2022-11-24 12:14:52 +01:00
Henrik Rydgård
70d1d8fa07 Replace the "GetCurrentStepId"-based state invalidation with callbacks 2022-11-24 10:52:42 +01:00
Henrik Rydgård
a1c61abdda Vulkan validation: One more false positive related to input attachments
See comment in code
2022-11-24 10:48:36 +01:00
Henrik Rydgård
cb7329cd11
Merge pull request #16426 from hrydgard/loadclut-fix
Rebind framebuffer after LoadCLUT-from-framebuffer
2022-11-24 10:48:26 +01:00
Henrik Rydgård
eea0b2632c Add checks against rendering with depth against non-depth targets. 2022-11-24 10:12:22 +01:00
Henrik Rydgård
39f2ddd128 Add compat flag / bug check for games on old Adreno/GL affected by #16015
See #16015

Partly derived from https://github.com/hrydgard/ppsspp/compare/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.
2022-11-24 10:05:35 +01:00
Henrik Rydgård
f6fcc9e9a7 Add a way to view the "GPU_USE_" flags at runtime. Useful for sanity checking on-device. 2022-11-23 16:17:41 +01:00
Henrik Rydgård
5230fc7c41 Joystick input: Ignore in-deadzone events from a different device than previous events
Fixes #15465
2022-11-23 12:22:59 +01:00
Lubos
70d30d1cf6 OpenXR - Aspect ratio of menu background fixed 2022-11-22 21:49:52 +01:00
Lubos
59046b8f76 OpenXR - 2D stereo condition fixed 2022-11-22 18:51:42 +01:00
Henrik Rydgård
d551d2a3ed Pause menu background: Remove complicated transparency tricks, instead draw game as part of background. 2022-11-22 12:11:20 +01:00
Henrik Rydgård
ddd2c6e343
Merge pull request #16409 from hrydgard/preserve-framebuffers
Preserve framebuffer on pause screen even if render resolution is changed
2022-11-22 10:03:47 +01:00
Henrik Rydgård
ec6d330ae4 Move AsyncImageFileView to Common, which required some more shuffling around of stuff. 2022-11-21 20:38:20 +01:00
Henrik Rydgård
eff4118769 One more refactoring step 2022-11-21 14:54:48 +01:00
Henrik Rydgård
250ea5e592
Merge pull request #16407 from unknownbrackets/jit-wx
In jits, protect and unprotect using better estimates
2022-11-20 20:39:04 +01:00
Unknown W. Brackets
b2798c7ada jit: Add more reasonable estimates for RX protect. 2022-11-20 10:55:35 -08:00
Unknown W. Brackets
5294a64828 jit: Protect against write over-estimates. 2022-11-20 10:55:35 -08:00
Lubos
1e9ddfda31 OpenXR - 3rd party controller support fixed 2022-11-20 12:22:10 +01:00
Lubos
4a770b36cf Typo fixed 2022-11-17 19:13:04 +01:00
Lubos
c9d1da28fc OpenXR - Cursor aspect ratio 2022-11-17 18:26:18 +01:00
Lubos
c7bcfe9fe9 OpenXR - Accept scrolling from both controllers 2022-11-17 18:19:47 +01:00
Lubos
940a669107 OpenXR - Camera adjust issues resolved 2022-11-17 18:04:35 +01:00
Lubos
db8b159d9e OpenXR - Force PSP menu aspect ratio 2022-11-17 17:30:29 +01:00
Lubos
f92990a002 OpenXR - Better dialog support 2022-11-17 15:25:35 +01:00
Lubos
14b6d75ac6 OpenXR - Use axis integration for camera adjust only 2022-11-17 12:22:16 +01:00
Lubos
011592754f OpenXR - Use mouse control only 2022-11-17 12:19:17 +01:00
Lubos
ddad6b3760 OpenXR - Support axis 2022-11-17 10:52:12 +01:00
Lubos
0ae1d75daf OpenXR - Support camera adjust using joystick 2022-11-17 10:22:01 +01:00
Unknown W. Brackets
4a367148e6 GPU: Centralize more GPU_USE flags, like depth. 2022-11-13 08:04:47 -08:00
Henrik Rydgård
1ae6047da9
Merge pull request #16379 from unknownbrackets/stencil-android
Fix alpha/stencil replace on Adreno when color masked
2022-11-13 10:12:39 +01:00
Unknown W. Brackets
3f875af2d7 Vulkan: Mark Adreno bug resolved on recent driver.
Playing it safe for 5xx devices and assuming they are still affected.
2022-11-12 17:41:48 -08:00
Unknown W. Brackets
c20bcc1f08 UI: Avoid enum/float comparisons. 2022-11-12 12:30:04 -08:00
Unknown W. Brackets
294d028dbf VR: Remove unnecessary deprecated header. 2022-11-12 12:30:04 -08:00
Unknown W. Brackets
3e5d77ab46 SaveState: Switch from deprecated is_pod. 2022-11-12 12:30:04 -08:00
Lubos
97d63a321c OpenXR - Test mirroring over 30 various games 2022-11-10 21:30:15 +01:00
Lubos
d32b6ceff0 OpenXR - Get all mirroring variants 2022-11-10 20:45:34 +01:00
Lubos
307acaa9b7 OpenXR - View matrix identity check breaking several games fixed 2022-11-09 19:25:08 +01:00
Lubos
b980f55645 OpenXR - Don't get mirroring from identity matrix 2022-11-09 19:07:45 +01:00
Lubos
8716021244 OpenXR - Do not apply head rotation on identity matrix 2022-11-09 17:59:14 +01:00
Unknown W. Brackets
305aae3e50
Merge pull request #16363 from hrydgard/android-shader-assert
OpenGL ES: Bail as early as possible if things are bad
2022-11-08 06:01:41 -08:00
Henrik Rydgård
87bd7aaccc
Merge pull request #16356 from lvonasek/cleanup_camera_control
OpenXR - Camera adjust using any controller
2022-11-08 12:28:44 +01:00
Henrik Rydgård
dd0409d68c OpenGL ES: Crash as early as possible if things are bad
There's a huge variety of crash report in the Play Console of various
opengl failures. Try to concentrate them to early points in
initialization
2022-11-08 10:43:38 +01:00
Henrik Rydgård
ecd62e7eb2 Lift length limit on Android logging 2022-11-08 00:21:37 +01:00
Henrik Rydgård
4d637342f7 Log source code for failed pipeline creations 2022-11-08 00:21:08 +01:00
Henrik Rydgård
90f67e91f5 Avoid drawing with failed-to-create pipelines 2022-11-08 00:21:08 +01:00
Henrik Rydgård
25547b5fe2 Make Mailbox handle null values. Fixes hang. 2022-11-08 00:21:08 +01:00