Commit Graph
34710 Commits
Author SHA1 Message Date
Unknown W. Brackets 60c129c52f softgpu: Use no-modulate fast path for REPLACE. 2022-12-06 06:31:30 -08:00
Unknown W. Brackets c291bd78ef softgpu: Use a template for 5551 fast path.
Just refactoring here, should be the same.
2022-12-06 06:29:19 -08:00
Unknown W. Brackets 264a81913d softgpu: Avoid checking UVs for sprites w/o tex. 2022-12-06 06:11:38 -08:00
Henrik Rydgård 5da13c3ad9 Merge pull request #16509 from unknownbrackets/softgpu-rectw
softgpu: Fix w culling of triangles combined as rectangles
2022-12-06 11:05:44 +01:00
Unknown W. Brackets 5d6b213fa7 softgpu: Avoid tri combine to rect if clipping. 2022-12-05 23:24:26 -08:00
Unknown W. Brackets d9501cb0ad softgpu: Fix w culling of triangle rects. 2022-12-05 23:09:55 -08:00
Henrik Rydgård ac2bd63cc2 Merge pull request #16508 from Felipefpl/master
Fixed omissions
2022-12-05 20:43:04 +01:00
Felipe 657ac6dd56 Fixed omissions
Fixed mistakes i did found by unknownbrackets.
2022-12-05 15:25:25 -03:00
Henrik Rydgård 883aa06d0a Merge pull request #16507 from Felipefpl/master
Updated brazilian portuguese
2022-12-05 16:33:11 +01:00
Felipe f3be5717e8 Updated brazilian portuguese 2022-12-05 12:12:06 -03:00
Henrik Rydgård 4fd336f5ef Merge pull request #16505 from hrydgard/assorted-cleanup
Minor UI polish, Swedish translation work
2022-12-05 12:49:24 +01:00
Henrik Rydgård dd22ec6fa7 Show the name of the chosen language on the choice button. Looks weird not to. 2022-12-05 12:10:45 +01:00
Henrik Rydgård 93e5060137 Load and cache langValuesMapping on demand 2022-12-05 12:10:45 +01:00
Henrik Rydgård 4233e8dece Swedish translation improvements 2022-12-05 12:10:42 +01:00
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