Commit graph

31072 commits

Author SHA1 Message Date
Unknown W. Brackets
e21f2b8fcf
Common: UWP buildfix.
Just use SetThreadDescription() directly, assuming new enough Windows.
2021-11-13 09:40:07 -08:00
Henrik Rydgård
9f1c9b9963 Buildfix 2021-11-13 18:12:09 +01:00
Henrik Rydgård
6e1455fd55 Use the "new" API SetThreadDescription to set thread names on Windows.
Mainly useful in debugging and profiling tools. Using the new function helps
modern debugging/profiling tools like Superluminal which don't support the
old exception method.

(Is there any old tool left that might be a reason we'd want to do both?)
2021-11-13 18:02:36 +01:00
Henrik Rydgård
df9be770d6 Add tip to Lazy texture caching button. Replaces #14183 2021-11-09 22:54:47 +01:00
Henrik Rydgård
4161b500ab
Merge pull request #15021 from unknownbrackets/ui-font-atlas
UI: Support a second texture for just fonts
2021-11-09 22:51:09 +01:00
Henrik Rydgård
4d38905474
Merge pull request #15100 from vit9696/master
SDL: Read assets from Resources on macOS like on iOS
2021-11-07 23:21:29 +01:00
Henrik Rydgård
9b457f544e
Merge pull request #15111 from unknownbrackets/softgpu-scissor
softgpu: Correct scissor for pixel centers
2021-11-07 20:45:11 +01:00
Unknown W. Brackets
da697d861c
Merge pull request #15110 from unknownbrackets/headless-compare
Headless: Generate a difference highlighting png
2021-11-07 11:36:28 -08:00
Unknown W. Brackets
f66e243727 softgpu: Correct scissor for pixel centers. 2021-11-07 11:19:41 -08:00
Unknown W. Brackets
fb69d56387 Headless: Generate a difference highlighting png.
Only for graphics tests that generate a screenshot, including ppdmp.
2021-11-07 11:05:17 -08:00
Unknown W. Brackets
92f9d3dc46 Headless: Move screenshot compare to class. 2021-11-07 10:03:49 -08:00
Unknown W. Brackets
0875c217c6 Headless: Fix ppdmp compare. 2021-11-07 10:01:16 -08:00
Henrik Rydgård
3f4562c552
Merge pull request #15109 from hrydgard/texture-upscale-rework
Texture upscale shader rework (drastic perf improvement)
2021-11-07 17:33:55 +01:00
Henrik Rydgård
b152dc1b5a Remove ARM Mali blacklisting for 4xBRZ, works now 2021-11-07 16:48:56 +01:00
Henrik Rydgård
f58e75e462 Remove unused variable 2021-11-07 16:31:28 +01:00
Henrik Rydgård
43dc54bc4a Comment fix, remove assert 2021-11-07 16:30:47 +01:00
Henrik Rydgård
c60feef55e Remove support for 16-bit textures from the upscaling shader, to shorten it for benefit of mobile GPUs 2021-11-07 16:08:57 +01:00
Henrik Rydgård
5654d3c9ed Fix edge conditions in 4xXBZR 2021-11-07 15:51:58 +01:00
Henrik Rydgård
281ddc2437 Speed up the 4xBRZ upscaler with 16x and the MMPX one with 4x by not doing redundant work 2021-11-07 15:47:05 +01:00
Henrik Rydgård
6349704924 Switch texture scaling shaders to a fixed scale model, preparing for the next change. 2021-11-07 13:12:28 +01:00
Henrik Rydgård
c111d6cc2d Remove the copy-compute-shader path 2021-11-07 12:55:39 +01:00
Henrik Rydgård
1f502b8f94
Merge pull request #15106 from unknownbrackets/depth-cull
GLES: Explicitly enable ARB_cull_distance
2021-11-06 21:35:11 +01:00
Unknown W. Brackets
142db5d61e GLES: Explicitly enable ARB_cull_distance. 2021-11-06 11:33:41 -07:00
Henrik Rydgård
35746ca52a
Merge pull request #15104 from PutuDesca/patch-2
Update id_ID.ini
2021-11-06 15:42:31 +01:00
Henrik Rydgård
aefc21f4a3
Merge pull request #15096 from unknownbrackets/debugger-display
Fix an issue in GE frame dump recording
2021-11-06 13:40:57 +01:00
PutuDesca
8fded9a2c0
Update (id_ID.ini) translation
Update Indonesian Translation 
#PutuDesca & eerdfz
2021-11-06 20:00:59 +08:00
Henrik Rydgård
5ff1d86018
Merge pull request #15101 from Halo-Michael/master
Update CMakeLists.txt & zh_CN.ini
2021-11-06 09:18:30 +01:00
Henrik Rydgård
ebc05b3141
Merge pull request #15099 from unknownbrackets/softgpu-depth
Fix depth cull in softgpu
2021-11-06 09:16:29 +01:00
Henrik Rydgård
09aee83dd1
Merge pull request #15098 from hrydgard/remove-gl-vertex-cache
Remove the vertex cache from the OpenGL backend.
2021-11-06 09:15:37 +01:00
Halo-Michael
ab2f057883 Update CMakeLists.txt 2021-11-06 14:59:37 +08:00
Halo-Michael
55e64b0ab4 Update CMakeLists.txt & zh_CN.ini 2021-11-06 14:55:44 +08:00
vit9696
1066224b6f SDL: Read assets from Resources on macOS like on iOS
closes #15041
2021-11-06 09:22:08 +03:00
Unknown W. Brackets
8db2d37e64 softgpu: Fix depth cull in softgpu.
Was improperly skipping cull for positive Z.
2021-11-05 21:38:13 -07:00
Unknown W. Brackets
fe440d40e5 softgpu: Clip full weighted Z without truncating.
In case wsum_recip is nan or similar, we want to make sure we still
properly clip to minz/maxz.
2021-11-05 21:36:38 -07:00
Henrik Rydgård
b88d676f78 Remove the vertex cache from the OpenGL backend.
It was disabled for a very long time, and now that we've re-enabled it, it
mostly causes problems.

Not feeling like debugging it on weird hardware, I think it's better
to focus energy on other optimizations.
2021-11-06 00:45:43 +01:00
Henrik Rydgård
c99e19c194
Merge pull request #15097 from unknownbrackets/softgpu-lines
softgpu: Improve accuracy of line drawing
2021-11-04 08:58:32 +01:00
Unknown W. Brackets
f03fa2b0b8 softgpu: Improve accuracy of line drawing.
Needs higher precision to change pixel at the right time.

This makes the lines in Persona 1 look right, see #3871.
2021-11-04 00:11:09 -07:00
Unknown W. Brackets
b592e918b6 Headless: Indicate HAS_DISPLAY=0.
This will make tests run as they do on a PSP, with display, outside
headless.
2021-11-03 17:41:07 -07:00
Unknown W. Brackets
a0599f70c4 GE Debugger: Record until some drawing.
Otherwise, we end up with empty frame dumps if games call display twice.
2021-11-03 17:40:20 -07:00
Henrik Rydgård
4c5e2068a9
Merge pull request #15093 from IncognitoMan/patch-1
Fix zimtool compilation.
2021-11-03 18:39:14 +01:00
IncognitoMan
ea2a77d41c
Fix zimtool compilation. 2021-11-03 12:23:57 -04:00
Henrik Rydgård
d917204da0
Merge pull request #15091 from unknownbrackets/lines
GPU: Sort line verts to correct bias
2021-11-03 07:36:39 +01:00
Unknown W. Brackets
ec1d980b30 GPU: Sort line verts to correct bias.
We want it to consistently go down and right.  This improves Persona 2 UI
significantly (see #3332.)
2021-11-02 21:57:00 -07:00
Henrik Rydgård
a8cbc792d9
Merge pull request #15090 from PutuDesca/patch-1
New update translation id_ID.ini
2021-11-02 09:16:02 +01:00
PutuDesca
b71c2f880c
New update translation id_ID.ini 2021-11-02 15:31:16 +08:00
Henrik Rydgård
65115a8afd
Merge pull request #15080 from PutuDesca/patch-2
id_ID.ini
2021-11-01 15:17:24 +01:00
PutuDesca
a6e60703f7
Update id_ID.ini
Update indonesian translation
2021-11-01 21:37:00 +08:00
Henrik Rydgård
7ba8cf63b4
Merge pull request #15077 from unknownbrackets/indonesian
Indonesian translation
2021-11-01 10:24:45 +01:00
Henrik Rydgård
17d807197d
Merge pull request #15076 from unknownbrackets/sw-lines
GPU: Expand lines to triangles
2021-11-01 10:23:56 +01:00
Unknown W. Brackets
931f20ed40
Merge pull request #15078 from vit9696/patch-1
Build: Add missing bundle identifier to macOS builds
2021-10-31 19:14:42 -07:00