Commit Graph
34734 Commits
Author SHA1 Message Date
Henrik Rydgård ed7f3d69a7 Rename Postprocessing shader to Postprocessing shaders. Make low-effort attempt at updating 2022-12-07 12:09:32 +01:00
Henrik Rydgård 6ee5382e86 Remove obsolete translation key "Postprocessing effects" 2022-12-07 11:57:31 +01:00
Henrik Rydgård 8bd6621c40 Remove postprocessing option from desktop menu (doesn't support multi-shader) 2022-12-07 11:57:28 +01:00
Henrik Rydgård 509d04844b Combine two translation strings, add another 2022-12-07 11:21:15 +01:00
Henrik Rydgård 241dd4093b Change the Settings toggle to a specially styled checkbox 2022-12-07 11:12:29 +01:00
Henrik Rydgård 59c4ff6af4 Make translatable 2022-12-07 10:27:02 +01:00
Henrik Rydgård a83a3f9d5d Declutter using a context menu, which I had to create from scratch. 2022-12-07 10:27:02 +01:00
Henrik Rydgård 39b627c0c1 Fix layout issues, misc cleanup and comments 2022-12-07 10:27:02 +01:00
Henrik Rydgård aed5d76fbc Make the post shader list more editable 2022-12-07 10:27:02 +01:00
Henrik Rydgård 82680633e7 More usability tweaks 2022-12-07 10:27:02 +01:00
Henrik Rydgård 64396a5108 Few more icons
More icons
2022-12-07 10:27:01 +01:00
Henrik Rydgård cb4536de8d Merge pull request #16518 from unknownbrackets/softgpu-fastrect
softgpu: Expand fast path to all fb formats
2022-12-07 10:00:49 +01:00
Unknown W. Brackets d9522a7ac5 softgpu: Avoid clear hazard for last cached funcs. 2022-12-06 21:23:56 -08:00
Unknown W. Brackets eda3ce556e softgpu: Avoid atomic structs.
Apparently we don't link libatomic and rather than fighting that, I'll
just use thread local values.
2022-12-06 20:35:07 -08:00
Unknown W. Brackets 400f6abf9a softgpu: Optimize lookup of last jit func.
This is common (for example, maybe a pixel state is updated but sampler is
not), and reduces time spent in ComputeRasterizerState() quite a bit in
Darkstalkers, where jits are available (i.e. Intel currently.)
2022-12-06 19:16:19 -08:00
Unknown W. Brackets 87fb9eef37 softgpu: Remove std::function usage.
Wanted to avoid coupling these, but don't like the std::function
construct/destructs showing in profiles...
2022-12-06 19:15:57 -08:00
Unknown W. Brackets 77c98441f4 softgpu: Expand fast path to all fb formats.
This should speed up 2D games not using 5551, and make it mroe likely any
regression is caught for Darkstalkers.
2022-12-06 18:43:21 -08:00
Unknown W. Brackets 08ceaf91e1 Merge pull request #16517 from hrydgard/darkstalkers-perf
Darkstalkers/Vampire Chronicles perf improvements
2022-12-06 17:52:15 -08:00
Henrik Rydgård 49f8f96a98 Couple more microoptimizations 2022-12-07 02:08:48 +01:00
Henrik Rydgård 50fdf67fd0 Software rect raster: Speed up memory tracking in debug mode (ztag unused, remove allocations) 2022-12-07 01:51:20 +01:00
Henrik Rydgård b51422c18b Ordering fix, should fix elimination of the DarkStalkers software blit 2022-12-07 01:50:48 +01:00
Henrik Rydgård 70b6733d0a Minor alpha bit optimization in Darkstalkers rectangle code 2022-12-07 01:50:29 +01:00
Henrik Rydgård e3105955ee Merge pull request #16512 from unknownbrackets/softgpu-fastrect
softgpu: Avoid checking UVs for sprites w/o textures
2022-12-06 21:45:18 +01:00
Unknown W. Brackets 51fa931e46 softgpu: Allow no alpha blend in 5551 fast path. 2022-12-06 06:37:51 -08:00
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