Commit Graph
36331 Commits
Author SHA1 Message Date
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 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 3e587fc992 Merge pull request #17227 from hrydgard/libretro-audio-simplification
Libretro audio simplification
2023-04-03 11:47:45 +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
Lubos b59a0728f6 OpenXR - Stereo separation only when enabled 2023-04-01 19:10:18 +02:00
Henrik Rydgård d523005c2b Cleanup 2023-04-01 19:02:20 +02:00
Lubos e7bbe322cd OpenXR - Stereoscopy math better 2023-04-01 18:58:46 +02:00
Lubos ee3e53581d OpenXR - Camera lags fixed 2023-04-01 18:36:14 +02:00
Lubos 5addc77258 OpenXR - Invalid operation removed 2023-04-01 18:05:18 +02:00
Henrik Rydgård 5a82e58564 Buildfix 2023-04-01 17:59:37 +02:00
Henrik Rydgård 88e73801fe Fix the binding UI to support multi-bind 2023-04-01 17:51:45 +02:00
Henrik Rydgård 8c9fee064e Display multi-mappings correctly in the mapping list 2023-04-01 15:00:22 +02:00
Henrik Rydgård 49a2c93b66 Make multi-mapping save-able, add test to verify backwards and forwards compat 2023-04-01 13:51:00 +02:00
Henrik Rydgård 0e1c42ce70 Plumb multimappings all the way through. 2023-04-01 13:50:57 +02:00
Henrik Rydgård f178d1bd85 Add an even cheaper version of TinySet called FixedTinyVec that's, well, fixed. 2023-04-01 12:01:27 +02:00
Henrik Rydgård 81608b0505 Merge pull request #17214 from unknownbrackets/softgpu-alpha
softgpu: Fix over-optimization of alpha test
2023-04-01 10:24:22 +02:00
Unknown W. Brackets a6bf49949d Merge pull request #17210 from hrydgard/control-mapping-refactor
ControlMapper refactoring
2023-04-01 00:26:42 -07:00
Henrik Rydgård 335df0fc71 libretro buildfix 2023-04-01 09:08:41 +02:00
Henrik Rydgård f3012f6914 Break out the signed->unsigned axis mapping 2023-04-01 09:07:29 +02:00
Henrik Rydgård 0b574613b9 Address assorted feedback 2023-04-01 09:01:27 +02:00