Commit Graph

31912 Commits

Author SHA1 Message Date
Unknown W. Brackets
07b67ef572 softgpu: Fix pixel ID for invalid blend factors.
They should still be treated as FIX, we were accidentally using our
special values.
2022-01-24 00:08:33 -08:00
Unknown W. Brackets
6c723c0517 softjit: Fix src blend factor handling.
This was causing us to skip a shift, oops.
2022-01-24 00:05:00 -08:00
Henrik Rydgård
c1b8fb737e
Merge pull request #15344 from unknownbrackets/gpu-signal-jumps
GPU: Allow relative jumps and calls
2022-01-24 08:38:45 +01:00
Henrik Rydgård
eba93f2ee0
Merge pull request #15340 from unknownbrackets/softgpu-textures
Correct UV rotation and through mipmaps, optimize texenv blend a bit
2022-01-24 08:19:34 +01:00
Henrik Rydgård
1267853e60
Merge pull request #15341 from unknownbrackets/softgpu-dither
softgpu: Correct clear mode dither
2022-01-24 08:18:45 +01:00
Henrik Rydgård
23b76aa155
Merge pull request #15342 from unknownbrackets/conv4444
Common: Fix conversion of 4444 to BGRA
2022-01-24 08:17:06 +01:00
Unknown W. Brackets
e47ee79899 GE Debugger: Allow GPU stepping while CPU stepping.
This can happen if you step into an update stall address call or similar.
2022-01-23 23:06:33 -08:00
Unknown W. Brackets
511c822312 GPU: Allow relative jumps and calls.
These are tested in gpu/signals/jumps, so they ought to work.
Doesn't seem like games generally use them, though.
2022-01-23 23:03:30 -08:00
Unknown W. Brackets
8efb99801e GPU: Log and report when region1 is non-zero. 2022-01-23 19:38:51 -08:00
Unknown W. Brackets
b4eab72015 Common: Fix conversion of 4444 to BGRA.
This was affecting tests emitting screenshots in 4444 as well as Direct3D
backends.
2022-01-23 19:22:32 -08:00
Unknown W. Brackets
818d17183b softgpu: Correct clear mode dither.
It does apply, but have to be careful about alpha.
2022-01-23 12:39:50 -08:00
Unknown W. Brackets
3010cd56d1 softgpu: Correct simple rectangles with mipmaps.
Might be used for fonts, we could potentially check for bias/slope, but
mipmaps are uncommon in direct through draws anyway.
2022-01-23 12:26:58 -08:00
Unknown W. Brackets
d8c5c35b1a samplerjit: Optimize texenv blending a bit.
This reduces to a single multiply, which is much faster.
2022-01-23 11:43:34 -08:00
Unknown W. Brackets
648b71616e softgpu: Correct UV rotation for transformed rects. 2022-01-23 08:15:15 -08:00
Unknown W. Brackets
d74001f4fa softgpu: Reuse transform state. 2022-01-23 08:08:41 -08:00
Unknown W. Brackets
9ea5367a8c softgpu: Add dirty flags for rasterization state. 2022-01-23 08:08:41 -08:00
Unknown W. Brackets
a27da25cd6 softgpu: Use dirty flags for render overlap checks. 2022-01-23 08:08:40 -08:00
Unknown W. Brackets
77db9c818f softgpu: Fix state race on screen offset.
Caused glitches in Motorstorm.
2022-01-23 08:08:40 -08:00
Unknown W. Brackets
76f9103e97 softgpu: Add a table and initial dirty flags.
Not actually using the dirty flags to skip state, but have moved to
Execute_* functions and everything else like other graphics backends.
2022-01-23 08:08:40 -08:00
Henrik Rydgård
5a6bf8b435
Merge pull request #15338 from unknownbrackets/ge-debugger
Alow flushing at will via the GE debugger
2022-01-23 00:30:52 +01:00
Unknown W. Brackets
eb95b99523 GE Debugger: Add option to auto flush.
This makes it easier to see what's happening in each draw.
2022-01-22 13:12:59 -08:00
Henrik Rydgård
130b7d71a9
Merge pull request #15337 from unknownbrackets/softgpu-fixes
samplerjit: Fix Linux x64 stack corruption
2022-01-22 21:01:13 +01:00
Unknown W. Brackets
b840eec290 GE Debugger: Cut down on primary buttons.
Most of these are not commonly used, and it makes the interface feel a bit
cluttered.
2022-01-22 12:01:10 -08:00
Unknown W. Brackets
a4a72ed7c1 GE Debugger: Add a menu to the GE debugger window.
This will allow adding more features without making the UI a mess.
2022-01-22 12:01:07 -08:00
Unknown W. Brackets
4262e657b4 samplerjit: Oops, forgot about 64 unpack.
Just a minor codegen tweak.  Always forget there are more of these than
pack instructions.
2022-01-22 10:49:36 -08:00
Unknown W. Brackets
0425b8d630 samplerjit: Fix Linux stack corruption.
Oops, nearest was not using the red zone correctly.
2022-01-22 10:47:32 -08:00
Unknown W. Brackets
36217e813c Build: Fix some minor warnings.
Just to get more warning clean.
2022-01-22 10:46:21 -08:00
Henrik Rydgård
b5e8c21042
Merge pull request #15334 from unknownbrackets/headless
Update pspautotests, require passing in GitHub Actions
2022-01-22 09:36:30 +01:00
Unknown W. Brackets
1cbbd197b2 Headless: Return an exit code on test failure. 2022-01-22 00:14:16 -08:00
Unknown W. Brackets
6c013cec96 Common: Print assert failures to stderr. 2022-01-22 00:14:15 -08:00
Unknown W. Brackets
ce0e872d37 softgpu: Define constexpr var for older C++. 2022-01-22 00:14:15 -08:00
Unknown W. Brackets
8573c34f85 x86jit: Check CALL dist for safe memory funcs. 2022-01-22 00:14:15 -08:00
Unknown W. Brackets
212e730e98 samplerjit: Fix some Linux register issues. 2022-01-22 00:14:15 -08:00
Unknown W. Brackets
85d868a369 Headless: Fix font tests on Linux. 2022-01-22 00:14:15 -08:00
Unknown W. Brackets
5c5fdb48b6 Build: Speed up macOS actions build a bit. 2022-01-22 00:14:15 -08:00
Unknown W. Brackets
47a8e5e612 Headless: Update passing tests.
Also make GitHub Actions run only passing.
2022-01-22 00:14:15 -08:00
Henrik Rydgård
54d63cc1da
Merge pull request #15335 from iota97/clean
Clean up hardware tessellation setting
2022-01-21 17:33:12 +01:00
iota97
a0f0a0655c Clean up hardware tasseletion setting 2022-01-21 16:55:53 +01:00
Henrik Rydgård
6fd082f141 Show the software rendering option on all platforms
It's improved greatly in performance thanks to Unknown's hard work,
and is becoming a lot more usable. It's not JIT-optimized on ARM yet,
but it's fast enough for some 2D games.

See #12543
2022-01-21 09:41:36 +01:00
Henrik Rydgård
6bcc6076a9
Merge pull request #15333 from unknownbrackets/softgpu-opt
Small optimizations to software flushing
2022-01-21 08:57:05 +01:00
Unknown W. Brackets
c0c3f7284a softgpu: Avoid flush texturing from stride.
This generally detects overlap more accurately using a dirty rectangles
approach.  Also detects render to self much more accurately, including
with depth.
2022-01-20 18:39:01 -08:00
Unknown W. Brackets
dec0ba7b79 softgpu: Flush framebuf only on change.
Sometimes games are reasserting the same framebuf, which was causing
unnecessary flushing.
2022-01-20 17:02:23 -08:00
Unknown W. Brackets
c4c54730bf softgpu: Remove bin asserts.
These are active in release and used in tight loops.
2022-01-20 16:59:38 -08:00
Unknown W. Brackets
55c11425e4 softgpu: Use persistent bin task state.
It's constant, so it's better to avoid the copying and allocation.  A
small win, but removes new from the profile.
2022-01-20 16:58:43 -08:00
Unknown W. Brackets
3e4d768e7a softgpu: Pack vertexdata a bit better.
This reduces the BinItem size by 15%.
2022-01-19 23:17:09 -08:00
Henrik Rydgård
c9dee44cfc
Merge pull request #15331 from ANR2ME/adhoc_matching
[AdhocMatching] Fix timing issue
2022-01-19 22:09:30 +01:00
ANR2ME
fbb1246cfd Reducing MatchingEvents processing delays. Fixes timing issue on a few games (Super Pocket Tennis, Thrillville Off the Rails, Lord of Arcana, Gundam: Senjou No Kizuna Portable, StarWars The Force Unleashed) 2022-01-20 03:16:25 +07:00
ANR2ME
bfd532561a Report sceNetAdhocMatchingInit to find out a list of games that use AdhocMatching library to be tested with. 2022-01-20 03:00:23 +07:00
ANR2ME
71f08a3db8 Discard HELLO Events when in the middle of Joining 2022-01-20 03:00:23 +07:00
ANR2ME
0755dc0bbd Updated notifyMatchingHandler comments 2022-01-20 03:00:23 +07:00