Commit Graph

40660 Commits

Author SHA1 Message Date
Henrik Rydgård
862177497a Allow specifying a cap on the number of threads used in ParallelLoop 2024-07-26 10:45:42 +02:00
Henrik Rydgård
e9e16210e8
Merge pull request #19367 from hrydgard/ubershader-vshader-fix
Fix minor difference between ubershader and specialized vshaders
2024-07-24 20:51:28 +02:00
Henrik Rydgård
fab034d866 Fix minor difference between ubershader and specialized vshaders 2024-07-24 20:50:33 +02:00
Henrik Rydgård
cc5763cffd
Merge pull request #19366 from hrydgard/misc-fixes
Misc logging tweaks
2024-07-24 01:03:31 +02:00
Henrik Rydgård
5d4f413085 Demote a very common log message from ERROR to DEBUG 2024-07-23 22:17:06 +02:00
Henrik Rydgård
5fdff10be5 Minor logging tweak 2024-07-23 22:13:24 +02:00
Henrik Rydgård
35ad5f95f2 Minor cleanup 2024-07-23 21:59:23 +02:00
Henrik Rydgård
aa17f71f14
Merge pull request #19363 from hrydgard/vertex-decoder-remove-membfun
VertexDecoder: Remove member function pointers from decoding
2024-07-23 08:48:48 +02:00
Henrik Rydgård
c9b22df725
Merge pull request #19362 from fjtrujy/update_workflows
Update version of GHA packages
2024-07-22 21:50:24 +02:00
Henrik Rydgård
0d8f194c65
Merge pull request #19361 from lvonasek/feature-openxr-antiflickering
OpenXR - Anti-flickering rendering flow added
2024-07-22 21:12:03 +02:00
Henrik Rydgård
a0299e1873
Merge pull request #19364 from hrydgard/platypus-fix
Slightly nudge down the multiplier used for float->u8 conversion in fragment shaders
2024-07-22 18:39:30 +02:00
Henrik Rydgård
6e0ec4a131 Slightly nudge down the multiplier used for float->u8 conversion in fragment shaders
Seems in lowp precision (as seen on some Android devices) this got
rounded up to 256 when multiplied by 1.0, causing the u8 to overflow, giving
us the wrong value instead of nicely rounding down to 255 with the floor
function.

Fixes #19235
2024-07-22 18:36:58 +02:00
Henrik Rydgård
6985f898d0 Compat.ini: Set ForceUMDReadSpeed for Tales of the World: Radiant Mythology 2
See issue #19196
2024-07-22 17:52:56 +02:00
Lubos
0f313e1d13 OpenXR - Make camera pitch value floating-point 2024-07-22 15:55:06 +02:00
Lubos
b7eefbc3f0 OpenXR - Camera type fixed 2024-07-22 14:38:43 +02:00
Henrik Rydgård
43c68c4277 VertexDecoder: Remove member function pointers from decoding 2024-07-22 14:06:15 +02:00
Francisco Javier Trujillo Mata
b6447f4a3d Update version of GHA packages 2024-07-22 13:55:03 +02:00
Lubos
b70c2cfd10 OpenXR - Anti-flickering rendering flow added 2024-07-22 13:33:03 +02:00
Henrik Rydgård
764278a1dd
Merge pull request #19360 from hrydgard/more-ir-interpreter
IR: Disable unworkable overwriting of instructions on invalidation.
2024-07-22 12:15:43 +02:00
Henrik Rydgård
eda60a5df9 IR: Disable unworkable overwriting of instructions on invalidation. Add debug-mode sanity check. 2024-07-22 12:03:53 +02:00
Henrik Rydgård
a27935d5ac
Merge pull request #19359 from hrydgard/sanitizer-fixes
Fix some minor issues found by --sanitize. Add --sanitizeub.
2024-07-22 12:03:36 +02:00
Henrik Rydgård
fd9daf7594 Fix some minor issues found by --sanitize. Add --sanitizeub.
Unfortunately the ub (undefined behavior) sanitizer has some bugs, it doesn't
understand pointers to member functions, so can't use it in-game (due to the
vertex decoder).

Thanks Nemoumbra for the reminder.
2024-07-22 11:37:18 +02:00
Henrik Rydgård
1bb850578d
Merge pull request #19357 from hrydgard/ir-interpreter-disable-preload
Disable preloading of function stubs if bPreloadFunctions is off
2024-07-22 10:48:03 +02:00
Henrik Rydgård
2a82a46308
Merge pull request #19358 from hrydgard/achievement-crashfix
Two crashfixes: Achievements menu, Outrun
2024-07-22 10:46:58 +02:00
Henrik Rydgård
92938f8283 Vertex decoder, SSE opt: Use the correct store operation to store 64 bits.
The other one duplicates the bits twice and requires alignment.

Fixes #19351
2024-07-22 10:30:57 +02:00
Henrik Rydgård
d4aafa3555 Fix crash showing the Achievements screen.
Fixes #19353, thanks Kelvfimer
2024-07-22 10:19:07 +02:00
Henrik Rydgård
aa7fd6979e Disable preloading of function stubs if bPreloadFunctions is off
Fixes #19349. Strange that the game worked at all.

The issue is that the arena could get resized due to precompile during
sceKernelModuleLoad . Now respect the flag that turns precompile off
properly (we should probably make it work differently instead, if we're
gonna have it).
2024-07-22 09:51:58 +02:00
Henrik Rydgård
f317f8179e
Merge pull request #19356 from hrydgard/ir-interpreter-work
IR jit/interpreter code cleanup
2024-07-22 09:26:30 +02:00
Henrik Rydgård
44f3d113d0 Buildfix 2024-07-22 09:08:47 +02:00
Henrik Rydgård
85e7ff7ac3 Target->Native renaming. More intuitive (at least to me) 2024-07-22 01:24:34 +02:00
Henrik Rydgård
898774a93d Attempt more thorough block invalidation 2024-07-22 01:22:54 +02:00
Henrik Rydgård
d3e6f19b6d Comments, log, cleanup 2024-07-22 01:15:35 +02:00
Henrik Rydgård
78c75e1a0b Delete duplicate function (now that we can easily check for compileToNative) 2024-07-21 19:17:21 +02:00
Henrik Rydgård
9d36a08ec4 Some renaming, remove a gross hack 2024-07-21 19:12:51 +02:00
Henrik Rydgård
8a535ed5d4 Bugfix in DoIRInst, thanks Nemoumbra 2024-07-21 18:56:22 +02:00
Henrik Rydgård
ec49c7bc8b
Merge pull request #19355 from hrydgard/console-listener-cleanup
Console log listener code cleanup
2024-07-21 16:06:21 +02:00
Henrik Rydgård
bfd797033e useThread_ in ConsoleListener.cpp can now be used to manually turn off the logging thread. 2024-07-21 15:37:54 +02:00
Henrik Rydgård
f50526338b Remove another wonky _beginthreadex() 2024-07-21 14:09:15 +02:00
Henrik Rydgård
44a54892a5 Update the code style of ConsoleListener, remove statics 2024-07-21 14:09:15 +02:00
Henrik Rydgård
121e3c1576
Merge pull request #19354 from hrydgard/console-cleanup
Console logging code cleanup
2024-07-21 14:09:09 +02:00
Henrik Rydgård
5939270d2c Log: Split out StdioListener from ConsoleListener, making the second Win32-only. 2024-07-21 13:55:40 +02:00
Henrik Rydgård
5edd02ef0a
Merge pull request #19347 from hrydgard/scefont-fixes
sceFont and savestate fixes
2024-07-20 13:05:08 +02:00
Henrik Rydgård
11a5dc2edd
Merge pull request #19348 from hrydgard/force-readback-compat-flag
Implement compat flag proposed in #18423, forcing readbacks in Juiced 2
2024-07-20 13:04:58 +02:00
Henrik Rydgård
ef95e24169 Implement compat flag proposed in #18423, forcing readbacks in Juiced 2
In-game, there's no slowdown, and this fixes the decal editor. So it's
no use allowing readbacks to be turned off in this game.

See issue #18423
2024-07-20 11:24:24 +02:00
Henrik Rydgård
cf49ff04ca More accurate error reporting for savestate loads 2024-07-20 10:55:16 +02:00
Henrik Rydgård
a1010e3b2e Add some more checks in sceFont 2024-07-20 10:42:01 +02:00
Henrik Rydgård
30c768a966 sceFont: Improve debug asserts 2024-07-20 10:32:02 +02:00
Henrik Rydgård
8c0910dd6d If a load-state failed (very bad), don't run the frame. 2024-07-20 00:46:13 +02:00
Henrik Rydgård
e504973cf0 On load state failure, don't go off reloading another rewind state, unless we were actually rewinding. 2024-07-20 00:40:21 +02:00
Henrik Rydgård
1eb1a69096 Zip Installation: Show the failed filename in the message 2024-07-20 00:14:23 +02:00