Commit Graph
39166 Commits
Author SHA1 Message Date
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
Serena 6b0cec2ae0 i forgot this 2023-02-14 19:11:44 +03:00
Serena c64aa9d19a address concerns 2023-02-14 19:11:32 +03: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
Henrik Rydgård c02fbd4bb7 Merge pull request #16947 from hrydgard/depth-scale-fixes
Depth scale fixes
2023-02-11 23:09:15 +01:00
Henrik Rydgård 66bd9cde14 Revert accidental armips change 2023-02-11 19:39:25 +01:00
Henrik Rydgård 1938fa44d4 Split the depth copy shader into depth copy and depth encode, dynamic depth scale in Draw2D 2023-02-11 18:24:07 +01:00
Henrik Rydgård a083a65f77 Depal: Get depth scale factors dynamically 2023-02-11 16:12:58 +01:00
Henrik Rydgård 547ecec074 Replace the rest of the uses of DepthSliceFactor 2023-02-11 14:45:14 +01:00
Henrik Rydgård 99e6fd62f7 Remove a baffling depth offset I don't quite get 2023-02-11 14:41:25 +01:00
Henrik Rydgård 241f8e75bc Replace some uses of DepthSliceFactor 2023-02-11 14:37:48 +01:00
Henrik Rydgård 5bdbe6984c Simplify GetDepthScaleFactors 2023-02-11 13:34:08 +01:00
Henrik Rydgård a2c9491a06 Remove a division by 0 that I hadn't noticed before. 2023-02-11 13:27:44 +01:00
Henrik Rydgård d40aa17198 Remove ToScaledDepthFromIntegerScale 2023-02-11 13:27:44 +01:00