38949 Commits

Author SHA1 Message Date
Henrik Rydgård
c7a3e7bc32 Remove a redundant variable 2023-10-06 16:32:59 +02:00
Henrik Rydgård
cd35252400 DrawEngine; Convert strip sequences in a tight loop 2023-10-06 16:25:13 +02:00
Henrik Rydgård
15df71c02a
Merge pull request #18315 from hrydgard/assorted-cleanup
Assorted code cleanup
2023-10-06 16:25:05 +02:00
Henrik Rydgård
5711259b86 Declare the back depth buffer as "transient". Allows allocating no memory for it on tiled GPUs.
We can't do the same for other depth buffers as we often need to
preserve them between passes.
2023-10-06 15:40:13 +02:00
Henrik Rydgård
42164b37d6 Gradle: Fix some deprecation warnings 2023-10-06 15:39:59 +02:00
Henrik Rydgård
10ccbfd68c Unify the clearing of variables after a draw call 2023-10-06 15:39:59 +02:00
Henrik Rydgård
64ee5675b8 Minor unrelated cleanup 2023-10-06 15:39:59 +02:00
Henrik Rydgård
d4703e9534 Decoded position format is always the same 2023-10-06 15:39:58 +02:00
Henrik Rydgård
0cd02ab58e
Merge pull request #18314 from hrydgard/read-write-vector-opt
Interpreter: Optimize ReadVector/WriteVector by removing voffset lookups
2023-10-05 21:59:13 +02:00
Henrik Rydgård
0d06af87b6 Interpreter: Optimize ReadVector/WriteVector by removing voffset lookups
Drops these functions down the ranking of top functions by quite a bit in GTA,
speedup at most 0.5% though. But enough of these small ones and they
start adding up.

Not sure why GTA falls back to the interpreter for these so much though.
I guess some "uneaten" prefix..
2023-10-05 19:11:34 +02:00
Henrik Rydgård
60a304f29b Turn the ifs inside out 2023-10-05 18:59:56 +02:00
Henrik Rydgård
f21523ff74 WriteVector: Pluck transpose out of the loop 2023-10-05 18:56:15 +02:00
Henrik Rydgård
e852771480 Integrate the voffset shuffle in ReadVector 2023-10-05 18:52:50 +02:00
Henrik Rydgård
ba1688bd44
Merge pull request #18310 from hrydgard/background-fix
Fix waves background
2023-10-05 09:30:41 +02:00
Henrik Rydgård
14c7eda7f9
Merge pull request #18309 from hrydgard/menu-throttle
Move the menu frame-rate throttling to NativeFrame
2023-10-04 18:59:37 +02:00
Henrik Rydgård
5b14cb61a7
Merge pull request #18307 from hrydgard/exit-hotkey
Add bindable hotkey to exit the app from within gameplay
2023-10-04 17:22:30 +02:00
Henrik Rydgård
931ff4eb1e Guaranteed gap-free rendering of waves background 2023-10-04 17:07:55 +02:00
Henrik Rydgård
4e2759713f Revert "UI: Round wave coords to prevent gaps."
This reverts commit ebf9de78640984d9fbba380c80872ce543b5fe00.
2023-10-04 17:02:23 +02:00
Henrik Rydgård
ae0c1e88c3 Move the menu frame-rate throttling to NativeFrame
Now needed on Android since we added the ability to turn off vsync,
which caused the menu to burn battery by rendering too fast.
2023-10-04 16:57:06 +02:00
Henrik Rydgård
f9403efaf0
Merge pull request #18306 from nishinji/master
Update ja_JP.ini
2023-10-04 16:36:13 +02:00
nishinji
0e86ac6bf0 small fix 2023-10-04 23:25:55 +09:00
nishinji
34189174d6 Update ja_JP.ini 2023-10-04 23:17:18 +09:00
Henrik Rydgård
2c4fda0ecf
Merge pull request #18308 from hrydgard/fix-translation-string-order
Add support for using %1 and %2 in some more translation strings.
2023-10-04 15:04:52 +02:00
Henrik Rydgård
b2f97d5934 Add support for using %1 and %2 in some more translation strings.
Requested in #18306
2023-10-04 14:36:42 +02:00
Henrik Rydgård
06882d6e55 Add new string 2023-10-04 14:12:19 +02:00
Henrik Rydgård
12de5bdead Add hotkey to exit the app from within gameplay
Requested by bluemonkeyinsuit07 and trivial to implement, so..
2023-10-04 14:10:14 +02:00
Henrik Rydgård
166ea2b2ba
Merge pull request #18298 from hrydgard/upgrade-rcheevos
Bump rcheevos submodule to latest.
2023-10-04 09:29:22 +02:00
Henrik Rydgård
1cf5c1bb34
Merge pull request #18304 from hrydgard/manhunt-color-ramp-fix
Extend the Test Drive color ramp smoother to detect up to 3 ramps in a texture
2023-10-04 08:33:31 +02:00
Henrik Rydgård
76f0c6cab4
Merge pull request #18305 from unknownbrackets/x86-ir-vcmp
x86jit: Fix IR vcmp all bit
2023-10-04 07:48:42 +02:00
Unknown W. Brackets
f1a9e39ce9 x86jit: Fix IR vcmp all bit. 2023-10-03 17:46:29 -07:00
Henrik Rydgård
69b43ab734 Extend the Test Drive color ramp smoother to detect up to 3 ramps in a texture.
Note that we also offset the lookup slightly to miss the wrap-around
points. The existing 31 scale factor instead of 32, together with that
half-texel, are enough to avoid that problem.

Fixes #18300
2023-10-03 23:30:18 +02:00
Henrik Rydgård
4d5a671b0d
Merge pull request #18303 from aeiouaeiouaeiouaeiouaeiouaeiou/ru_RU-effects
Update Russian translation
2023-10-03 22:12:01 +02:00
aeiouaeiouaeiouaeiouaeiouaeiou
927fa6bfcb
Update Russian translation 2023-10-03 23:01:53 +03:00
Henrik Rydgård
ca7480fa55 Bump rcheevos submodule to latest. 2023-10-03 14:57:27 +02:00
Henrik Rydgård
f94442d1b3
Merge pull request #18297 from hrydgard/block-transfer-stat
Add a block transfer GPU stat, remove a redundant one
2023-10-03 14:48:41 +02:00
Henrik Rydgård
226d25721a Add a block transfer GPU stat, remove a redundant one 2023-10-03 13:15:55 +02:00
Henrik Rydgård
7a2f30803d
Merge pull request #18296 from hrydgard/startup-perf
Startup and tex-replacement performance fixes
2023-10-03 13:06:41 +02:00
Henrik Rydgård
d07c3c5148 Fix main-thread stalls due to decimate during replacement texture loading 2023-10-03 12:17:43 +02:00
Henrik Rydgård
20c13f3b4c Do the Vulkan check as early as possible 2023-10-03 12:17:43 +02:00
Henrik Rydgård
c4e2ad37ff Windows: Avoid loading shell libraries during startup. 2023-10-03 12:17:43 +02:00
Henrik Rydgård
4f43dac04d
Merge pull request #18286 from hrydgard/drawengine-refactor
DrawEngine refactor, quickly merge non-indexed consecutive draws
2023-10-03 12:17:34 +02:00
Henrik Rydgård
af7efe4b5d Fix. Need to flush soft-skinned vertices when changing vertex format. 2023-10-03 11:01:37 +02:00
Henrik Rydgård
200575b2bc Allow the new optimization through redundant VADDR instructions, very common 2023-10-03 11:01:37 +02:00
Henrik Rydgård
3aa0f5b543 A bit more 2023-10-03 11:01:37 +02:00
Henrik Rydgård
4d95250052 Optimize further 2023-10-03 11:01:37 +02:00
Henrik Rydgård
0260aebc26 Implement fast-path for merging non-indexed draws quickly. 2023-10-03 11:01:37 +02:00
Henrik Rydgård
e63bb0459c Add a new stat, so we can see per game if the optimization has an effect 2023-10-03 11:01:37 +02:00
Henrik Rydgård
1c49d5718c Add an offset field that we'll need later 2023-10-03 11:01:37 +02:00
Henrik Rydgård
92ffef2626 Remove some state from IndexGenerator, fix bugs. Mostly works except vertex cache. 2023-10-03 11:01:37 +02:00
Henrik Rydgård
9b411af1f5 It's running. 2023-10-03 11:01:37 +02:00