Henrik Rydgård
e6185ba6bb
Clean out NaNs and INFs from vertex coordinates
...
This enables a behavior seen on the real PSP where 0 * NaN == 0 in the
GPU (NOTE: This means the vertex transform pipeline).
However, this
doesn't touch INFs unfortunately, and we need to modify those too...
This, together with #21715 , finally fixes #20204 .
2026-06-02 10:52:39 +02:00
Henrik Rydgård
21e4677305
Merge pull request #21758 from kreinholz/master
...
Build fixes for clang on FreeBSD
2026-05-31 22:47:39 +02:00
Kevin Reinholz
d6060d4b3b
Build fixes for clang on FreeBSD
2026-05-31 13:27:45 -07:00
Henrik Rydgård
931c246208
Merge pull request #21755 from Eloren1/load-save-confirm
...
Add load state confirmation setting
2026-05-31 22:04:19 +02:00
Eloren1
74f9b36bd5
Add LoadStateConfirmScreen to all build systems
2026-05-31 22:09:01 +03:00
Eloren1
109d1caa50
Separate TriggerFinish from parent result
2026-05-31 22:05:53 +03:00
Eloren1
938029cd6a
Add screenshots + extract LoadStateConfirmScreen
2026-05-31 21:55:06 +03:00
Eloren1
2926e1118d
Add load confirmation popup after shortcut
2026-05-31 21:13:03 +03:00
Eloren1
4fd8f76337
Auto translate using existing terminology
2026-05-31 20:43:37 +03:00
Henrik Rydgård
92adf08caf
Merge pull request #21754 from hrydgard/audio-focus
...
Implement the "Mix audio with other apps" setting on Android.
2026-05-31 19:39:18 +02:00
Eloren1
7734c5f8f5
Call TriggerFinish on next frame outside popup
2026-05-31 20:27:07 +03:00
Henrik Rydgård
e8e357e360
Implement the "Mix audio with other apps" setting on Android.
2026-05-31 19:08:45 +02:00
Eloren1
23aef44ae1
UI: Add load state confirmation option
2026-05-31 19:32:41 +03:00
Henrik Rydgård
93340779e1
Merge pull request #21753 from hrydgard/add-khmer-language
...
Add Khmer language, contributed by Chhe Borin
2026-05-31 16:57:37 +02:00
Henrik Rydgård
8daa734203
Add Khmer language, contributed by Chhe Borin
2026-05-31 16:56:54 +02:00
Henrik Rydgård
8df41f8fb9
Merge pull request #21715 from hrydgard/vp-refactor-2
...
Viewport and culling total rework
2026-05-31 14:07:41 +02:00
Henrik Rydgård
847953fd31
Fix wrong logic causing excessive software transform fallback if cull planes are missing. Minor cleanup.
2026-05-31 13:31:16 +02:00
Henrik Rydgård
632f27f66c
Merge pull request #21748 from kreinholz/master
...
Experimental ffmpeg-build cmake module
2026-05-31 13:24:41 +02:00
Henrik Rydgård
702088c2d0
Fix backwards check for minZ/maxZ in fragment shader
2026-05-31 10:40:14 +02:00
Henrik Rydgård
bdd72c08f3
Fix dirtying caused by clip flag state. This could probably be a bit smarter.
2026-05-30 21:47:21 +02:00
Henrik Rydgård
f8b153ba2b
Fix some issues with depth rounding, and depth clamp in D3D11
2026-05-30 19:07:59 +02:00
Henrik Rydgård
3f6582aa7b
Minor logging changes
2026-05-30 19:07:59 +02:00
Henrik Rydgård
0e880a16f0
Flush on changed clipInfoFlags. This fixes many Z fighting artifacts caused by strange joining of meshes and sw/hw tranform conflict.
2026-05-30 19:07:59 +02:00
Henrik Rydgård
44ece6dfa2
Determine the clip flags directly when culling, simplifying the code.
2026-05-30 19:07:59 +02:00
Henrik Rydgård
2a5c2fa477
Check if the viewport transform matches the clip space. If so we can skip the near clip plane.
2026-05-30 19:07:59 +02:00
Henrik Rydgård
189dde8115
Cache the cull matrix. Minor bbox optimization.
2026-05-30 19:07:59 +02:00
Henrik Rydgård
116d91fcaa
Viewport-scissor dirty state cleanup
2026-05-30 19:07:59 +02:00
Henrik Rydgård
0e8ba0d6fe
Bugfixes, cleanup
2026-05-30 19:07:59 +02:00
Henrik Rydgård
e75d9f8a5f
Unify the bounding depth checks, correct them if minmax clip is needed
2026-05-30 19:07:59 +02:00
Henrik Rydgård
0eede05f5f
Implement fragment shader depth clamp and min/max discard. Slow on some hardware, but it's a fallback.
2026-05-30 19:07:59 +02:00
Henrik Rydgård
0b21731e7b
Remove obsolete compat.ini flag DisableAccurateDepth
2026-05-30 19:07:59 +02:00
Henrik Rydgård
66fd3e65d8
Remove some redundant function parameters
2026-05-30 19:07:59 +02:00
Henrik Rydgård
39e9d28b4e
Minor ScreenManager fix
2026-05-30 19:07:59 +02:00
Henrik Rydgård
de266c3d6c
Add the appropriate epsilons to cull distance. Fixes the NBA issue.
...
It's a bit odd that this draw doesn't go through software transform
though.
2026-05-30 19:07:59 +02:00
Henrik Rydgård
0b47955c64
Delete geometry shader culling support. Is mostly replaced, and will be fully replaced with software transform.
2026-05-30 19:07:59 +02:00
Henrik Rydgård
d849db6be5
Buildfix, remove redundant variable
2026-05-30 19:07:59 +02:00
Henrik Rydgård
5ad24adc93
Cleanup, increase the max cull count. Flatout water works now.
2026-05-30 19:07:59 +02:00
Henrik Rydgård
3599c4002b
Through mode draws should not be min/max tested
2026-05-30 19:07:59 +02:00
Henrik Rydgård
9979d5544d
Round off Z for the min/max tests. Gets both Test Drive map and Wipeout Pure shadows working at the same time..
2026-05-30 19:07:59 +02:00
Henrik Rydgård
eaacbbc226
D3D and OpenGL shader buildfixes
2026-05-30 19:07:59 +02:00
Henrik Rydgård
058b1af285
Revert to software on out-of-bounds projected depth
2026-05-30 19:07:59 +02:00
Henrik Rydgård
86efaeee7e
Increase the minimum vertex count for checking fast-cull. This fixes #10914 in hardware transform (by forwarding to software)
2026-05-30 19:07:59 +02:00
Henrik Rydgård
86f9618cb9
Fallback to software transform if draw intersects -W<Z<W
2026-05-30 19:07:59 +02:00
Henrik Rydgård
5eb114d3d9
Put more useful data in BoundingDepths. Slightly more costly.
2026-05-30 19:07:59 +02:00
Henrik Rydgård
49557580e9
disable debug colors
2026-05-30 19:07:59 +02:00
Henrik Rydgård
3fa37a2bc1
Fix unittest
2026-05-30 19:07:59 +02:00
Henrik Rydgård
8b84fd555d
Apply triangle near-clipping in software transform.
...
Fixes, but only in SW transform, #10914
Re-enable range culling, oops.
2026-05-30 19:07:59 +02:00
Henrik Rydgård
280ddbf86c
Remove state from SoftwareTransform class
2026-05-30 19:07:59 +02:00
Henrik Rydgård
5cc2f71038
Software transform: More Z clamping updates
2026-05-30 19:07:59 +02:00
Henrik Rydgård
83dcd24043
Small SIMD optimization in software transform
2026-05-30 19:07:59 +02:00