Commit Graph

35718 Commits

Author SHA1 Message Date
Henrik Rydgård
14fdbfc0ea OK now it kinda works in GL but it slows everything down terribly 2023-02-16 23:17:08 +01:00
Henrik Rydgård
b5de9e0cc3 Some preparations 2023-02-16 23:17:08 +01:00
Henrik Rydgård
be833550ec
Merge pull request #16974 from hrydgard/tilt-fixes
Tilt: Fix sensitivity for digital mappings, simplify things
2023-02-16 11:53:33 +01:00
Henrik Rydgård
64e80423a6 Simplify the tilt code, tweak a bit 2023-02-16 11:07:57 +01:00
Henrik Rydgård
3e286b7a27 Apply sensitivity before deadzone. Feels more intuitive 2023-02-16 10:35:38 +01:00
Henrik Rydgård
a288c59841 Simplify tilt, step 1 2023-02-16 10:33:47 +01:00
Henrik Rydgård
99b2349d6b
Merge pull request #16971 from hrydgard/rainbow-six-perf-fix
Add a heuristic avoiding joining framebuffers horizontally...
2023-02-16 00:25:27 +01:00
Henrik Rydgård
adda49d05d Add a heuristic avoiding joining framebuffers horizontally
...when texturing from the other one.

Greatly improves GPU performance in Rainbow Six: Vegas.

Fixes #9324.
2023-02-15 15:35:28 +01:00
Henrik Rydgård
5a39ad31b9
Merge pull request #16961 from hrydgard/depth-block-transfer
Add limited support for block transfer of depth buffers. Fixes Iron Man.
2023-02-15 10:56:27 +01:00
Henrik Rydgård
6e423fd5d3
Merge pull request #16970 from emuall/libretro-vfs
support libretro-VFS
2023-02-15 10:56:15 +01:00
xielei
8ff78cb921 aioemu 2023-02-15 17:21:45 +08:00
Henrik Rydgård
645be5c0f2
Merge pull request #16967 from hrydgard/delay-in-osk-dialog
Eat some CPU cycles in sceUtilityOskUpdate. Works around timing bug in Ghost Recon Predator.
2023-02-15 09:28:11 +01:00
Henrik Rydgård
ae9291f3b5 More work on depth copies. Seems to be enough for Iron Man. 2023-02-15 07:35:07 +01:00
Henrik Rydgård
62a6f351d5 Initial work on depth copies 2023-02-15 07:35:07 +01:00
Henrik Rydgård
27a03de826 CreateRAMFramebuffer: Don't create a depth buffer by default 2023-02-15 07:35:07 +01:00
Henrik Rydgård
6b902a7d6b Minor code cleanup, one very minor stride bugfix 2023-02-15 07:35:07 +01:00
Henrik Rydgård
29859c84fc
Merge pull request #16969 from unknownbrackets/libretro-android
libretro: Update flags for Android ndk-build
2023-02-15 07:33:16 +01:00
Henrik Rydgård
18b08637f6
Merge pull request #16968 from unknownbrackets/riscv-vertexjit
riscv: Include morph in vertexjit
2023-02-15 07:31:01 +01:00
Unknown W. Brackets
81ec0b03b8
Merge pull request #16965 from hrydgard/savestate-fixes
Reorder savestates to put memory before CoreTiming.
2023-02-14 22:04:58 -08:00
Unknown W. Brackets
037bf3575e libretro: Update flags for Android ndk-build. 2023-02-14 21:30:06 -08:00
Unknown W. Brackets
9f43010004 riscv: Reuse some color morphing code.
Small optimization loss in 5551, but fairly minimal and I think it's worth
it.
2023-02-14 20:46:05 -08:00
Unknown W. Brackets
684aa75388 riscv: Include morph in vertexjit. 2023-02-14 20:20:55 -08:00
Unknown W. Brackets
1ec33ddc04 riscv: Use __riscv_flush_icache() on Linux.
This seems to perhaps clear icache on all harts.  Otherwise crashing is
seen.  Not sure what to do on other platforms.
2023-02-14 19:59:42 -08:00
Henrik Rydgård
132e8eeccd Now these variables need to be initialized 2023-02-14 22:46:32 +01:00
Henrik Rydgård
78f3d450ff Eat some CPU cycles in sceUtilityOskUpdate. Works around timing bug in Ghost Recon Predator.
The bug is in the game, it uses the wrong vblank wait, but it only works
because the dialog processing takes so much time that it misses the
vblank period anyway.

Fixes #12044, and hopefully won't break anything else.
2023-02-14 20:14:49 +01:00
Henrik Rydgård
718cb9ee4a Reorder savestates to put memory before CoreTiming.
Also, don't clear the JIT for rounding after saving, only after loading.
2023-02-14 16:43:22 +01:00
Unknown W. Brackets
5ce43215b9
Merge pull request #16958 from hrydgard/rewind-cleanups
Rewind cleanups
2023-02-14 06:58:20 -08:00
Henrik Rydgård
cebb885e84 Address feedback 2023-02-14 10:09:54 +01:00
Henrik Rydgård
2243ec5b31 Clearing fixes, fix out-of-bounds iterator 2023-02-14 10:09:54 +01:00
Henrik Rydgård
5418be738b Make the rewind snapshot interval wall-time based instead of frame-based. 2023-02-14 10:09:51 +01:00
Henrik Rydgård
a7baa3580b Some code cleanups around rewind. 2023-02-14 10:09:36 +01:00
Henrik Rydgård
3dc9fd86e1
Merge pull request #16962 from unknownbrackets/riscv-vertexjit
riscv: Correct offset prescale in vertexjit
2023-02-14 09:41:45 +01:00
Unknown W. Brackets
ada6aa77e0 riscv: Correct offset prescale in vertexjit.
Also implement doubling while here.
2023-02-13 17:16:48 -08:00
Unknown W. Brackets
e1c391b1c8 riscv: Use vertexjit for hardware skinned verts. 2023-02-13 17:15:49 -08:00
Unknown W. Brackets
991c596490 riscv: Set constants once in vertexjit. 2023-02-13 16:57:13 -08:00
Henrik Rydgård
86a19cebfd
Merge pull request #16957 from unknownbrackets/riscv-vertexjit
riscv: Initial vertexjit
2023-02-13 08:33:05 +01:00
Unknown W. Brackets
dc4136d547 riscv: Add prescale to vertexjit. 2023-02-12 23:05:35 -08:00
Unknown W. Brackets
77b2e63876 riscv: Add colors to vertexjit.
This don't feel very efficient, but they overall beat non-jit.
2023-02-12 23:05:35 -08:00
Unknown W. Brackets
ee10fae04e riscv: Add basic steps to vertex decode. 2023-02-12 23:05:34 -08:00
Unknown W. Brackets
219e0db4e5 riscv: Initial vertexjit. 2023-02-12 14:28:51 -08:00
Unknown W. Brackets
0b05d20c0a riscv: Fix poison with compressed instructions. 2023-02-12 13:02:55 -08:00
Unknown W. Brackets
89c18d8077 riscv: Cleanup missing Poison, Crash. 2023-02-12 12:10:29 -08:00
Unknown W. Brackets
0532b35538 Osk: Update by button flag consistently. 2023-02-12 10:06:53 -08:00
Henrik Rydgård
c42d660858
Merge pull request #16953 from iota97/minor
Stereo rendering minor UI fix
2023-02-12 12:11:11 +01:00
iota97
3397703bb7 Minor fix 2023-02-12 11:40:50 +01:00
Henrik Rydgård
6007f54808
Merge pull request #16952 from lvonasek/compat_openxr_stereo
OpenXR - Enable stereo in more games
2023-02-12 10:22:18 +01:00
Lubos
b569c635f3 OpenXR - Remove redundant compat values 2023-02-12 09:36:59 +01:00
Lubos
c8daec9f40 OpenXR - Do not block stereo if world unit is not specified 2023-02-12 09:28:02 +01:00
Henrik Rydgård
f102b6a291
Merge pull request #16951 from hrydgard/tilt-control-improvements
Tilt control: Split the deadzone parameter since it needs to be different for different types
2023-02-12 00:10:14 +01:00
Henrik Rydgård
7d40ed6ba1 Tilt control: Split the deadzone parameter since it needs to be different for different types.
Can at least share the string without problems.

Also rearrange the settings a little bit.
2023-02-11 23:42:55 +01:00