Commit graph

35662 commits

Author SHA1 Message Date
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
Henrik Rydgård
805591e493 Replace all uses of ToScaledDepthFromIntegerScale. 2023-02-11 13:27:44 +01:00
Henrik Rydgård
9053d8ccc7 Flip a sign for consistency 2023-02-11 13:27:44 +01:00
Henrik Rydgård
116b3ba8cc Increase precision of GetDepthScaleFactors to match ToScaledDepthFromIntegerScale 2023-02-11 13:27:44 +01:00
Henrik Rydgård
1c2e45453b
Merge pull request #16948 from hrydgard/depth-scale-cleanup
Depth scale cleanup
2023-02-11 13:27:31 +01:00
Henrik Rydgård
639ca31814 Address feedback 2023-02-11 11:23:00 +01:00
Henrik Rydgård
28a7912ae6 Add comments, re-enable remaining tests (they do work, just forgot to add expected values) 2023-02-11 01:11:02 +01:00
Henrik Rydgård
8d40684833 Make the test pass, add some commented-out failing ones 2023-02-10 14:57:48 +01:00
Henrik Rydgård
d65dae7185 Depth scale functions: Clean up the naming, add a failing test 2023-02-10 14:57:45 +01:00
Henrik Rydgård
d426ce5118 Clear depth buffers after changing depth rounding mode.
And thus change of depth buffer scale/offset.

Previously, old depth buffers with values that now are out of range
could stick around, causing #16941. This clears them to the expected 0
value, which helps Outrun. Ideally we should convert depth buffers to
the new format, but if we can get away without that, that's also nice.

This is enough for #16941.
2023-02-10 10:03:14 +01:00
Henrik Rydgård
ea9245d903
Merge pull request #16945 from hrydgard/tag-format
Format memory tags using less allocations
2023-02-09 10:56:10 +01:00
Henrik Rydgård
dc74778dea Do the last ones too 2023-02-09 10:27:29 +01:00
Henrik Rydgård
c52db636ce Optimize tag formatting 2023-02-09 10:22:46 +01:00
Henrik Rydgård
1ba67d90b3
Merge pull request #16937 from hrydgard/reduce-button-touch-scale
Reduce button touch scale
2023-02-09 10:13:08 +01:00
Henrik Rydgård
0138e5a473
Merge pull request #16942 from unknownbrackets/depth-bloom-hack
GPU: Skip depth resize when forcing 1x
2023-02-09 10:10:27 +01:00
Henrik Rydgård
1906ff6839
Merge pull request #16943 from unknownbrackets/dialog-update
Dialog: Warn when ignoring the dialog language
2023-02-09 09:56:57 +01:00
Henrik Rydgård
cc1e0a3bbb
Merge pull request #16944 from styxnix/master
Update fi_FI.ini
2023-02-09 09:56:10 +01:00
Jaakko Saarikko
0bccdf336b
Update fi_FI.ini 2023-02-09 09:08:52 +02:00
Jaakko Saarikko
b9ba381303
Merge branch 'hrydgard:master' into master 2023-02-09 08:34:42 +02:00
Unknown W. Brackets
4bc205b7bc Impose: Log when ignoring requested language. 2023-02-08 19:07:54 -08:00
Unknown W. Brackets
d7732f7fd7 Dialog: Warn when ignoring the dialog language. 2023-02-08 19:04:18 -08:00
Unknown W. Brackets
fcc1abc7c3 Dialog: Update by button flag consistently.
Always check for the flag to change in Update().
2023-02-08 19:02:37 -08:00
Unknown W. Brackets
aff0b46523 GPU: Skip depth resize when forcing 1x. 2023-02-08 18:45:01 -08:00
Henrik Rydgård
85ee85102a Just reorder some settings. 2023-02-08 22:05:01 +01:00
Henrik Rydgård
a9a45481cc Scale buttons by 1.5 instead of 2.0 on touch.
Not sure if this should really be a setting. If you don't like the
scaling at all, you can still choose the glow style. We should probably
somehow make that one more obvious though.
2023-02-08 21:54:15 +01:00
Henrik Rydgård
2d0252feb8
Merge pull request #16916 from hrydgard/implement-delayed-readback
Implement delayed depth readbacks, Vulkan only
2023-02-08 21:34:29 +01:00
Henrik Rydgård
88130bbd68
Merge pull request #16932 from hrydgard/listsync-eat-cycles
Eat some cycles in sceGeListSync, count listsyncs and drawsyncs in gpu stats
2023-02-08 19:14:34 +01:00
Henrik Rydgård
17695314b6
Merge pull request #16936 from lvonasek/feature_openxr_multiplatform_apk
OpenXR - One APK for both Pico and Quest
2023-02-08 18:01:26 +01:00
Lubos
7bbb5eac51 Comment fixed 2023-02-08 17:41:50 +01:00
Lubos
abf76bd212 OpenXR - One APK for both Pico and Quest 2023-02-08 17:26:36 +01:00
Henrik Rydgård
ab63689cca Remove bad comment 2023-02-08 15:37:06 +01:00
Henrik Rydgård
5ad111cfc4 Return value fix 2023-02-08 08:59:47 +01:00
Henrik Rydgård
62c49779f2
Merge pull request #16933 from xujibbs/patch-48
Update zh_CN.ini
2023-02-08 08:50:07 +01:00
xujibbs
ecf82a9051
Update zh_CN.ini 2023-02-08 09:02:06 +08:00
Henrik Rydgård
735cd26db6 Document Syphon Filter hack, but don't enable it 2023-02-08 00:56:45 +01:00
Henrik Rydgård
9827dd536c Count listsyncs and drawsyncs in gpu stats. Eat some cycles in listSync
Chose a conservative number (same as sceGeContinue)
2023-02-08 00:41:26 +01:00
Henrik Rydgård
94f51d5d26 Make the Dangan Ronpa readback async 2023-02-07 23:13:36 +01:00
Henrik Rydgård
5f13bc061a Color readback: Read the previous framebuffer instead of the one being switched to 2023-02-07 23:13:36 +01:00
Henrik Rydgård
b3e6b81e43 Implement delayed depth readbacks for Vulkan only 2023-02-07 23:13:36 +01:00
Henrik Rydgård
d1e0061dcd
Merge pull request #16930 from lvonasek/feature_openxr_forcevr
OpenXR - Option to disable automatic switch between 2D and VR
2023-02-07 21:16:21 +01:00
Lubos
6e91ca9e54 OpenXR - Option to disable automatic switch between 2D and VR 2023-02-07 19:48:16 +01:00
Henrik Rydgård
081cdeaeac
Merge pull request #16929 from warmenhoven/dev/warmenhoven/libretro-ios
Build for tvOS as a libretro core
2023-02-07 18:47:28 +01:00
Henrik Rydgård
59ae9dac01
Merge pull request #16928 from hrydgard/mac-math-workaround
Workaround for sin/cos issue in GTA on Mac (and maybe others)
2023-02-07 18:46:34 +01:00
Eric Warmenhoven
40e92ce753 Build for tvOS as a libretro core 2023-02-07 12:11:35 -05:00
Henrik Rydgård
9e736ca50c Workaround for sin/cos issue in GTA on Mac (and maybe others) 2023-02-07 17:43:12 +01:00
Henrik Rydgård
9b86000684
Merge pull request #16919 from hrydgard/gl-delayed-readback-prep
Move GLFrameData out of GLRenderManager.
2023-02-07 13:03:33 +01:00
Henrik Rydgård
742e123b2b Address feedback 2023-02-07 12:12:00 +01:00