Henrik Rydgård
70f18f5621
Turn language popup thing into a lambda
2022-12-05 11:23:35 +01:00
Henrik Rydgård
e969f9cf8b
Merge pull request #16502 from unknownbrackets/softgpu-opt
...
A few more softgpu optimizations for alpha blend/test
2022-12-05 09:35:36 +01:00
Henrik Rydgård
e44e9b651f
Merge pull request #16503 from unknownbrackets/softgpu-halfpos
...
softgpu: Fix double rectangle drawing at halfpixel
2022-12-05 09:34:33 +01:00
Henrik Rydgård
13e90f7086
Merge pull request #16504 from unknownbrackets/psu-depth
...
GPU: Use accurate depth for depth range hack
2022-12-05 09:33:40 +01:00
Unknown W. Brackets
77e510bd90
GPU: Use accurate depth for depth range hack.
...
This should be easier to ensure stays well tested.
2022-12-04 19:27:23 -08:00
Unknown W. Brackets
07c276c32d
softgpu: Fix double rectangle drawing at halfpixel.
...
There seems to be some odd behavior with the X start pos, but at least the
end pos should not be drawn twice when using 0.5 - 0.5.
2022-12-04 17:47:57 -08:00
Unknown W. Brackets
d6750993d7
softgpu: Force alpha test when it could skip blend.
...
Blending is slow, and often games do effects like smoke, sun, etc. that
has a lot of zero alpha in them. Many games do this with alpha testing
off, which is cheap compared to blending.
2022-12-04 16:36:45 -08:00
Unknown W. Brackets
2c90dafe64
softgpu: Force alpha test off in more scenarios.
...
Since we're already checking the CLUT, we can tell if it doesn't contain
zero alpha, in which case a != 0 test will never fail. This is actually
pretty common, even when texture alpha is not always FF.
2022-12-04 16:30:12 -08:00
Henrik Rydgård
5de3a7c252
Merge pull request #16500 from unknownbrackets/warnings
...
Fixes to recently introduced warnings and a couple older ones
2022-12-04 17:40:30 +01:00
Unknown W. Brackets
3342d5ecb3
softgpu: Remove an unused case.
2022-12-04 08:17:05 -08:00
Unknown W. Brackets
6c6133a3c1
Build: Get rid of legacy zstd support.
...
This refers to old versions of zstd we never used, and the code also
generates warnings when it's built.
2022-12-04 08:14:30 -08:00
Unknown W. Brackets
e09a1a32a3
Build: Reduce include spam in CMake.
...
This makes it more like other platforms, which don't globally include
these directories.
2022-12-04 08:07:53 -08:00
Henrik Rydgård
fdca08c482
Merge pull request #16499 from unknownbrackets/actions
...
Build: Use Windows 2019 for UWP builds
2022-12-04 16:59:29 +01:00
Unknown W. Brackets
8c378c4557
GPU: Avoid an override warning.
2022-12-04 07:57:45 -08:00
Unknown W. Brackets
e49668eea7
SaveState: Correct missing switch case warnings.
2022-12-04 07:57:30 -08:00
Unknown W. Brackets
0556ee67fc
SaveState: Fix a format type error.
2022-12-04 07:57:09 -08:00
Unknown W. Brackets
9e019a3a1a
Build: Silence SFMT warning.
2022-12-04 07:53:15 -08:00
Unknown W. Brackets
4378de6aa0
Build: Use Windows 2019 for UWP builds.
2022-12-04 07:29:21 -08:00
Henrik Rydgård
a8939f456a
Remove dead code, validation fix in GE debugger
...
See #16490
2022-12-04 00:49:48 +01:00
Unknown W. Brackets
59431de823
Merge pull request #16494 from hrydgard/force-lower-res-for-effects-off
...
Force "Lower resolution for effects" off in Ratchet & Clank and a few other games
2022-12-03 15:25:57 -08:00
Henrik Rydgård
7e97ce1760
Merge pull request #16495 from unknownbrackets/vulkan-shutdown
...
Cleanup shader module lifetime handling for Vulkan
2022-12-04 00:16:58 +01:00
Henrik Rydgård
8e50eb31fb
Add missing IDs
2022-12-04 00:06:28 +01:00
Henrik Rydgård
5381086996
Don't ignore insets for UI on the display layout screen (no longer needed)
2022-12-04 00:01:31 +01:00
Unknown W. Brackets
3f620dba58
Vulkan: Reduce some logging when things are fast.
...
On startup especially this spams sometimes.
2022-12-03 14:56:58 -08:00
Unknown W. Brackets
78ed8d45a7
Vulkan: Defer deletion of shader module promises.
2022-12-03 14:53:10 -08:00
Unknown W. Brackets
53eedf06e3
Vulkan: Track pipeline desc using a refcount.
...
Not very safe to not allow deletes, and don't want to force Draw objects
on the deleter (this is referenced by them.)
2022-12-03 14:52:06 -08:00
Henrik Rydgård
8567416be6
Force "Lower resolution for effects" off in Ratchet & Clank and a few other games
...
It breaks or just makes things look terrible in these games, so no
reason to allow it.
An alternative for this would be to remove the option entirely, and only
use it though the ForceLowerResolutionForEffectsOn flag instead.
2022-12-03 23:35:54 +01:00
Henrik Rydgård
c310d1471e
Merge pull request #16493 from unknownbrackets/softgpu-opt
...
softgpu: Check CLUT alpha to optimize out blend/alpha test
2022-12-03 22:55:53 +01:00
Unknown W. Brackets
00e76b11b6
softgpu: Optimize > non-zero alpha tests as well.
...
These are fairly common, especially in 3D games.
2022-12-03 12:55:38 -08:00
Unknown W. Brackets
eb19e24399
softgpu: Skip non-zero alpha test if impossible.
2022-12-03 12:54:53 -08:00
Unknown W. Brackets
adc94b1950
softgpu: Use CLUT to optimize out blending more.
...
This actually happens relatively often.
2022-12-03 12:44:02 -08:00
Unknown W. Brackets
0aba5ff3c1
TexCache: Correct alpha mask checks for SSE2.
...
Should have been shifts by byte (4/8), but let's just switch to shuffles
anyway. These were always shifting in zeros and failing.
2022-12-03 12:38:01 -08:00
Unknown W. Brackets
38eb0a7a82
softgpu: Check for queued compile.
...
Rarely, we could have queued compiling the same one, which would crash on
a double insert.
2022-12-03 12:15:58 -08:00
Henrik Rydgård
aa7341def6
Merge pull request #16492 from hrydgard/reorganize-display-layout-screen
...
Reorganize the display layout screen
2022-12-03 20:56:10 +01:00
Henrik Rydgård
6acbd1f9e3
Fix loading of texture shaders
2022-12-03 20:37:58 +01:00
Henrik Rydgård
f3ba8fb334
Address feedback, also sort texture shaders
2022-12-03 19:30:50 +01:00
Henrik Rydgård
e46b036482
Reorganize the DisplayLayoutScreen again - flip left/right sides, move mode switch to bottom.
2022-12-03 19:13:39 +01:00
Henrik Rydgård
b938992da4
Add a new centering capability to AnchorLayout
2022-12-03 19:13:21 +01:00
Henrik Rydgård
fb5474115c
Align the version number better on the main screen
2022-12-03 19:07:38 +01:00
Henrik Rydgård
f5c0dc717a
Sort post-shaders alphabetically in the list.
2022-12-03 18:58:47 +01:00
Henrik Rydgård
f651f365b0
Disable the MSAA selector if software rendering is selected. Move software rendering up.
2022-12-03 17:43:08 +01:00
Henrik Rydgård
238c9439e3
Merge pull request #16491 from unknownbrackets/cleanup
...
Quick cleanup
2022-12-03 16:38:32 +01:00
Unknown W. Brackets
2b58ac7e95
Psmf: Fix pointer check.
2022-12-03 07:17:27 -08:00
Unknown W. Brackets
e50eae1bfb
GPU: Cleanup some bounds checks, assignments.
2022-12-03 07:17:12 -08:00
Unknown W. Brackets
7c16c4dbb9
Merge pull request #16489 from mjunix/small-fixes
...
Small fixes
2022-12-03 07:03:10 -08:00
Johan Mattsson
d694b3a2e9
Merge branch 'hrydgard:master' into small-fixes
2022-12-03 15:31:40 +01:00
Henrik Rydgård
c9c4a7ef7d
Merge pull request #16487 from hrydgard/simpsons-hotfix-alternative-try
...
Safer and simpler alternative to commit cbfa4bf.
2022-12-03 15:29:16 +01:00
Johan Mattsson
e260ba4062
Fix missing 'else'
2022-12-03 15:29:14 +01:00
Johan Mattsson
2b1d57257a
Fix comparison
2022-12-03 15:28:22 +01:00
Johan Mattsson
954bd69e30
Fix progress computation
2022-12-03 15:26:31 +01:00