Commit Graph

36497 Commits

Author SHA1 Message Date
Unknown W. Brackets
1d3f262eda Debugger: Trigger mem breakpoints for mirrors. 2023-04-05 06:57:42 -07:00
Unknown W. Brackets
09f3c446b8 Debugger: Improve perf with write-only memchecks. 2023-04-05 06:36:40 -07:00
Henrik Rydgård
0662fc8e72
Merge pull request #17237 from hrydgard/slider-defaults
Slider setting defaults
2023-04-05 11:26:53 +02:00
Henrik Rydgård
6f9339b011 Add defaults for all int-slider settings too 2023-04-05 10:50:53 +02:00
Henrik Rydgård
4e0babc950 Add a "reset to default" for all float-slider settings
Unfortunately, the default values from the configs are not exposed
outside Config.cpp, so there's duplication.

Need to figure out how to do fix that, but it's out-of-scope for this
PR.
2023-04-05 10:50:53 +02:00
Henrik Rydgård
35e7dabd7b
Merge pull request #17236 from hrydgard/integer-scale-tweaks
Integer scale tweaks
2023-04-05 10:46:44 +02:00
Henrik Rydgård
cf28556d6d When integer scaling, take the internal render resolution into account. 2023-04-05 09:48:28 +02:00
Henrik Rydgård
ff907bd523 Fix crash in MIPSStackWalk 2023-04-05 09:48:03 +02:00
Henrik Rydgård
8f96ec371e Rename iBufFilter -> iDisplayFilter 2023-04-05 09:34:18 +02:00
Henrik Rydgård
9874737087
Merge pull request #17234 from andreasstieger/gcc13
Fix build with GCC13: various standard includes
2023-04-05 00:45:33 +02:00
Andreas Stieger
822592c6b1 Fix build with GCC13: various standard includes 2023-04-05 00:20:14 +02:00
Unknown W. Brackets
5c1e66a910
Merge pull request #17228 from hrydgard/vfpu-fallbacks
Add back our older VFPU approximations, as fallbacks if the table files are missing
2023-04-03 23:53:12 -07:00
Unknown W. Brackets
853fd2fb76
Merge pull request #17232 from hrydgard/vulkan-always-use-accurate-depth
Don't use inaccurate depth with Vulkan on any GPU
2023-04-03 23:51:07 -07:00
Henrik Rydgård
0c82067edf Manually remove that bloat from the filter file again 2023-04-03 22:39:03 +02:00
Henrik Rydgård
3a69569580 Don't use inaccurate depth with Vulkan on any GPU except some special-cased Mali drivers.
Fixes #17044
2023-04-03 22:36:13 +02:00
Henrik Rydgård
f401a803a6 Fix VFPU table deployment on UWP 2023-04-03 22:20:11 +02:00
Henrik Rydgård
6a1f438ef4 UWP buildfix 2023-04-03 22:14:07 +02:00
Henrik Rydgård
3e587fc992
Merge pull request #17227 from hrydgard/libretro-audio-simplification
Libretro audio simplification
2023-04-03 11:47:45 +02:00
Henrik Rydgård
aba026f7e9 Add back our older VFPU approximations, as fallbacks if files are missing.
PR #16984 added more accurate versions of these functions, but they require
large lookup tables stored in assets/.

If these files are missing, PPSSPP would simply crash, which isn't good.

We should probably try to warn the user somehow that these files are
missing, though...
2023-04-03 11:33:41 +02:00
Henrik Rydgård
2d73551af2 Makefile/readme updates 2023-04-03 10:46:38 +02:00
Henrik Rydgård
1d0afd4867 libretro: Rip out the audio speed control logic, libretro should handle that internally. 2023-04-03 10:01:49 +02:00
Unknown W. Brackets
ecfd4759dd
Merge pull request #17224 from hrydgard/integer-scaling
Add support for integer scale factor for display
2023-04-02 13:53:15 -07:00
Henrik Rydgård
c08c711006 Fix portrait mode integer scaling 2023-04-02 22:35:51 +02:00
Henrik Rydgård
d223d3c316 Rename CenterDisplayOutputRect to CalculateDisplayOutputRect 2023-04-02 22:29:08 +02:00
Henrik Rydgård
2fa93982ea Add support for integer scale factor for display
This is mainly useful if you want an authentic pixellated look with 1x
rendering (or software) and nearest display filter. It'll simply round
down the auto-scaled sized to the nearest integer scale factor,
configuring exactly which one isn't that interesting since they all are
gonna look good.

Fixes #17093
2023-04-02 22:29:08 +02:00
Henrik Rydgård
f1165bd2ae
Merge pull request #17225 from unknownbrackets/savestate-minor
SaveState: Attempt to recover from missing files
2023-04-02 21:38:54 +02:00
Unknown W. Brackets
269f01f841 SaveState: Attempt to recover from missing files.
If there were files open before that don't exist, things could go badly.
But we could at least load the state file and hope the game doesn't break.
That's better that refusing to load at all.
2023-04-02 12:17:59 -07:00
Henrik Rydgård
9f6338e098
Merge pull request #17222 from hrydgard/broadcom-disable-ubershader
Turn off light ubershader generation on Broadcom GPUs.
2023-04-02 18:32:10 +02:00
Henrik Rydgård
bb351e0511
Merge pull request #17223 from hrydgard/cpp-17
MSVC: Set language standard to c++17.
2023-04-02 18:31:35 +02:00
Henrik Rydgård
d996fb74d4 MSVC: Set language standard to c++17.
Noticed that we were getting some new warnings after merging the
constexpr stuff.
2023-04-02 17:55:15 +02:00
Henrik Rydgård
1374fb040c Turn off light ubershader generation on Broadcom GPUs.
Attempt at working around #16824
2023-04-02 17:39:28 +02:00
Henrik Rydgård
aeff08eed7
Merge pull request #17221 from hrydgard/if-constexpr
Use "If constexpr". Just #17197 rebased on master with some parts removed
2023-04-02 17:03:48 +02:00
Henrik Rydgård
3af961f3ba Revert DrawPixel changes 2023-04-02 16:41:29 +02:00
Henrik Rydgård
fc62d587c0 Fix whitespace issues 2023-04-02 16:36:39 +02:00
Герман Семенов
122b63b9a8 GPU: using if constexpr C++17 optimization 2023-04-02 16:36:37 +02:00
Герман Семенов
8d5af48efd Core: using if constexpr C++17 optimization 2023-04-02 16:35:57 +02:00
Henrik Rydgård
30b0f83e21
Merge pull request #17219 from hrydgard/vulkan-fix-debug-validation-error
Vulkan: Fix a couple of validation errors
2023-04-02 11:23:23 +02:00
Henrik Rydgård
d1e21ab896 Fix return value from control mapper Key. Fixes volume key issue on Android. 2023-04-02 10:41:26 +02:00
Henrik Rydgård
9ae1e10a1b Texture upload: Correct the initial barrier before upload.
Validation caught some weirdness here.

Might possibly help #14774 ?
2023-04-01 23:48:24 +02:00
Henrik Rydgård
885415949e Vulkan: Fix ordering of debug labels, fixing a new validation error. 2023-04-01 23:29:30 +02:00
Henrik Rydgård
c1026941f4
Merge pull request #17218 from hrydgard/vulkan-disable-input-attachments
Vulkan: Disable framebuffer fetch (through input attachments) for now.
2023-04-01 23:28:23 +02:00
Henrik Rydgård
5e6d181eb6 Vulkan: Disable framebuffer fetch (through input attachments) for now.
This is a conceptually cool trick that just doesn't seem to be worth
it, compared to the old approach of copy + blend-in-shader. I haven't
found any game that benefits more than absolutely minimally, and having
two paths to test isn't great, when the win is so small.

So I'm disabling it. I'm keeping the code for now, but might clear it
out later.

Fixes #17069
2023-04-01 23:07:32 +02:00
Unknown W. Brackets
94b4a84fe0
Merge pull request #17217 from hrydgard/logic-fix
Controls: Logic fix, optimization, remove hack
2023-04-01 14:06:15 -07:00
Henrik Rydgård
9146020aa4 Logic fix, optimization, remove hack. See post-comments on #17215 2023-04-01 22:45:26 +02:00
Henrik Rydgård
47785aa2bb
Merge pull request #17215 from hrydgard/multi-mapping-input
Control map multiple keys to one output
2023-04-01 20:47:45 +02:00
Henrik Rydgård
0d2c29975f
Merge pull request #17216 from lvonasek/hotfix_openxr_glitches
OpenXR - Render glitches fixed
2023-04-01 20:36:20 +02:00
Henrik Rydgård
33ba6f6f1a Fix for menu navigation with DInput controllers on Windows. Bit of a hack. 2023-04-01 20:28:48 +02:00
Henrik Rydgård
c1b5aed9b7 Cleanup, confine g_controllerMap access to KeyMap.cpp 2023-04-01 20:28:42 +02:00
Luboš Vonásek
de089c3fee
Merge branch 'hrydgard:master' into hotfix_openxr_glitches 2023-04-01 20:17:25 +02:00
Lubos
de462f481f OpenXR - Disable stereo in Motorstorm 2023-04-01 19:48:53 +02:00