Commit Graph
47140 Commits
Author SHA1 Message Date
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
Vitaly Cheptsov 440a0090ce Build: Add missing bundle identifier to macOS builds 2021-11-01 04:49:37 +03:00
PutuDesca 0f41f5c1e3 Lang: Fix some Indonesian strings. 2021-10-31 18:01:30 -07:00
Unknown W. Brackets 2cb96dd655 Lang: Fix CRC value formatting in id_ID and pt_BR. 2021-10-31 16:01:11 -07:00
PutuDesca 5f3434da50 Lang: Indonesian translation. 2021-10-31 16:00:46 -07:00
Unknown W. Brackets 76e1690646 GPU: Keep diagonal lines the same width. 2021-10-31 15:49:20 -07:00
Unknown W. Brackets 60bd25582c Vulkan: Remove wide line handling.
No longer used, since we convert lines to triangles now.
2021-10-31 14:47:21 -07:00
Unknown W. Brackets 2718e81c0e GPU: Expand lines to triangles. 2021-10-31 14:46:46 -07:00
Henrik Rydgård 039b97ddd9 Merge pull request #15075 from unknownbrackets/sw-points
Draw points using triangles
2021-10-31 22:20:25 +01:00
Unknown W. Brackets ea6d0f07e4 GPU: Correct point width/height.
Oops, shouldn't be half in 3D transform.
2021-10-31 13:19:51 -07:00
Unknown W. Brackets 1d76e55f84 Vulkan: Disable large points feature.
No longer used.
2021-10-31 13:07:03 -07:00
Unknown W. Brackets b3a8e013f6 GPU: Expand points into triangles for higher res. 2021-10-31 13:06:06 -07:00
Henrik Rydgård 3d1106cdf3 Merge pull request #15073 from unknownbrackets/sw-lines
Cleanup line/point handling and refactor a bit
2021-10-31 19:52:04 +01:00
Unknown W. Brackets 4fb09859fd GPU: Refactor out rectangle expansion.
Just so it's cleaner when the same is done for lines.
2021-10-31 11:09:04 -07:00
Unknown W. Brackets 9fc94a3494 GPU: Skip cull for lines and points.
These already always go through software transform, so make sure we handle
them consistently.  We'll eventually convert to triangles.
2021-10-31 10:54:50 -07:00
Henrik Rydgård 8a718a8202 Merge pull request #15072 from unknownbrackets/guardband
Implement depth culling in software transform
2021-10-31 17:29:41 +01:00
Henrik Rydgård 0c45700f12 Merge pull request #15070 from hrydgard/sw-transform-opt
Minor optimizations in software transform
2021-10-31 17:27:30 +01:00
Henrik Rydgård a498f164ee vmulq_laneq_f32 not supported on ARM32 2021-10-31 16:32:45 +01:00
Unknown W. Brackets bffa68a566 GPU: Cleanup comments on swtranform cull. 2021-10-31 07:22:59 -07:00
Henrik Rydgård 3245f54dc1 Optimize the rotation a bit (limit to VK/D3D11, mat2 instead of mat4) 2021-10-31 13:44:54 +01:00
Henrik Rydgård fdacf751ce NEON/SSE-optimize some matrix multiplications used by software transform
Will hopefully reclaim any potential speed loss from the recent
refactor.
2021-10-31 13:36:34 +01:00
Henrik Rydgård 14fa7942bb Sneak in a gradle bump 2021-10-31 13:36:34 +01:00
Henrik Rydgård 3bf6b140c7 Don't forget to check for bufferedRendering before enabling screen rotation in the shader. 2021-10-31 13:35:13 +01:00
Henrik Rydgård a3a6bdc19e Merge pull request #15069 from unknownbrackets/swtransform-project
Process projection inside software transform
2021-10-31 11:09:59 +01:00
Unknown W. Brackets 5128480d74 GPU: Implement cull behavior in sw transform. 2021-10-30 21:04:16 -07:00
Unknown W. Brackets 7edfdd2cdd GPU: Rename pos/uv w for clarity. 2021-10-30 21:04:00 -07:00
Unknown W. Brackets b4715e4d88 GPU: Correct w on immediate prim. 2021-10-30 21:01:07 -07:00
Unknown W. Brackets b4bc4c5c78 GPU: Remove buggy rectangle culling.
Transformed rectangles are uncommon, but culling them properly is a bit
trickier than this, so remove for now.
2021-10-30 18:26:23 -07:00
Unknown W. Brackets b5a2afef76 D3D11: Fix fog in software transform. 2021-10-30 18:24:01 -07:00
Unknown W. Brackets e688bb2cdf GPU: Correct software transform projection.
Now reading the new fog value.
2021-10-30 18:23:58 -07:00
Unknown W. Brackets 4ec75de0e7 GPU: Add fog separately for swtransform verts.
At this point, still being processed wrong, this just changes the
attribute structure.
2021-10-30 18:22:54 -07:00
Unknown W. Brackets b87451de92 GPU: Restore rotation handling in sw transform. 2021-10-30 18:22:53 -07:00
Unknown W. Brackets 4e5ce403b5 GPU: Process proj matrix in sw transform.
Will need this to properly handle culling and clipping in software
transform.

Temporarily breaks display rotation handling (Vulkan/UWP.)
2021-10-30 18:22:53 -07:00
Unknown W. Brackets 159eab5141 GPU: Set projection matrix per backend.
There's a bit of variance, so this keeps the central code clean.
2021-10-30 18:20:36 -07:00