Commit graph

31545 commits

Author SHA1 Message Date
Unknown W. Brackets
acad2640dd softgpu: Cache logicOp in draw pixel state. 2022-01-15 13:03:10 -08:00
Unknown W. Brackets
c0d548846f softgpu: Use cached write mask in draw pixel. 2022-01-15 13:03:10 -08:00
Unknown W. Brackets
f1ce2e7715 softgpu: Cache minz/maxz in draw pixel state. 2022-01-15 13:03:10 -08:00
Unknown W. Brackets
0b3f096c01 softgpu: Cache strides in draw pixel state. 2022-01-15 13:03:10 -08:00
Unknown W. Brackets
e9f3720e20 softgpu: Cache fog color draw pixel state. 2022-01-15 13:03:10 -08:00
Henrik Rydgård
165e0a12a9
Merge pull request #15305 from unknownbrackets/softgpu-opt
softgpu: Avoid double calculating screenpos
2022-01-15 20:58:09 +01:00
Henrik Rydgård
a12a1962d1
Merge pull request #15303 from unknownbrackets/softgpu-verts
softgpu: Enqueue batches of prims when binning
2022-01-15 20:44:49 +01:00
Unknown W. Brackets
880826bab4 softgpu: Remove disable of cached pixel state.
That mode is slower now (with the other state changes), and we don't want
to read gstate anymore anyway.
2022-01-15 11:22:50 -08:00
Unknown W. Brackets
cf3384c993 softgpu: Avoid double calculating screenpos. 2022-01-15 11:22:36 -08:00
Unknown W. Brackets
3134bd1ff9 softgpu: Cleanup push/pop atomic handling.
Two concurrent push/pops would hazard, though we don't do that.
This improves perf a bit by avoiding an atomic read again.
2022-01-15 00:02:31 -08:00
Unknown W. Brackets
c86a0157d8 softgpu: Remove old task.
Oops.
2022-01-14 20:52:20 -08:00
Unknown W. Brackets
f091225572 softgpu: Stop storing model pos.
We don't even use this anywhere else.  Also skip needless Lerp on clip.
2022-01-14 20:36:09 -08:00
Unknown W. Brackets
d6a8cb2a0e softgpu: Stop storing normal/worldnormal/worldpos.
This is only needed for lighting, which is applied right away.

This improves perf just simply from less data being copied.
2022-01-14 20:32:18 -08:00
Unknown W. Brackets
5a35525fd4 softgpu: Enqueue batches of prims when binning.
This cuts some thread overhead.
2022-01-14 20:19:32 -08:00
Henrik Rydgård
bdc62be881
Merge pull request #15302 from unknownbrackets/softgpu-verts
Process verts within a draw call in binned threads within softgpu
2022-01-14 16:21:16 +01:00
Henrik Rydgård
12e4784e4f
Merge pull request #15301 from unknownbrackets/softgpu-opt
Move more state processing to per prim call
2022-01-14 08:59:11 +01:00
Unknown W. Brackets
46e3c71522 softgpu: Adjust binning thresholds.
This improves Persona 3 and LBP.
2022-01-13 23:14:45 -08:00
Henrik Rydgård
4c6eff3041
Merge pull request #15298 from unknownbrackets/softgpu-opt
Compute func IDs and get func pointers once per prim call
2022-01-14 08:07:20 +01:00
Unknown W. Brackets
dffc333120 softgpu: Avoid thread ordering hazard.
Must run the primitives in the right order.  No shortcutting allowed.
2022-01-13 23:03:42 -08:00
Unknown W. Brackets
970e9c2f51 softgpu: Move threading into BinManager.
This threads much more effectively, across entire prim call.
2022-01-13 22:45:23 -08:00
Unknown W. Brackets
48ef4a18b1 softgpu: Handle scissor/range in BinManager. 2022-01-13 19:07:41 -08:00
Unknown W. Brackets
a0a9b1e89b softgpu: Add class to manage and enqueue for bins.
For now, just forwarding.
2022-01-13 09:26:59 -08:00
Henrik Rydgård
8d45593d75
Merge pull request #15299 from ANR2ME/adhoc_gamemode
[AdhocGameMode] Fix Bomberman Panic Bomber multiplayer
2022-01-13 16:52:27 +01:00
ANR2ME
d5036ff2ae Fix buffer overflow issue on GameMode. 2022-01-13 16:13:53 +07:00
ANR2ME
4b6431f7fe GameMode Scheduler should only runs when there are active Master. 2022-01-13 15:35:16 +07:00
ANR2ME
2d5699d62b Prevent creating another GameMode Master, since we don't support more than one Master data, and there is no ID related to Master. 2022-01-13 14:06:51 +07:00
ANR2ME
73dff0566e Fix an issue where more than one GameMode Scheduler can be scheduled. 2022-01-13 14:02:33 +07:00
ANR2ME
4d0c7385ec Fix an issue where sceNetAdhocGameModeCreateReplica blocked current thread for initial sync while Master data hasn't been created yet. 2022-01-13 13:03:58 +07:00
Unknown W. Brackets
6839aac109 Debugger: Cache list PC for softgpu tagging.
Still slow, but improved.
2022-01-12 21:23:49 -08:00
Unknown W. Brackets
d962fb35d3 softgpu: Centralize more prim drawing state. 2022-01-12 21:23:49 -08:00
ANR2ME
9efdaf9ba7 Updated sceNetAdhocGameModeUpdateReplica (Fix Bomberman Panic Bomber) 2022-01-13 10:51:43 +07:00
ANR2ME
2bd79838bf Fix invalid argument issue of sceNetAdhocPtpAccept on Bomberman Panic Bomber. 2022-01-13 10:36:11 +07:00
Unknown W. Brackets
d06f17d27b softgpu: Move tex filter setting check to state. 2022-01-11 00:07:24 -08:00
Unknown W. Brackets
75ff3e44e6 softgpu: Move texture addresses to prim state. 2022-01-11 00:00:03 -08:00
Unknown W. Brackets
d5c5e9478e softgpu: Prepare more state per prim call. 2022-01-10 22:12:35 -08:00
Unknown W. Brackets
9ec7d65c49 softgpu: Use func IDs instead of gstate more. 2022-01-10 22:12:35 -08:00
Unknown W. Brackets
d7a82ab7b8 softgpu: Compute func IDs once per batch of verts.
This saves a decent chunk of time, especially when many verts are being
drawn.
2022-01-10 22:12:35 -08:00
Henrik Rydgård
c8247401be
Merge pull request #15297 from iota97/placeholder-change
Avoid confusion for translator
2022-01-10 20:35:47 +01:00
iota97
8b79025507 Avoid confusion for translator 2022-01-10 20:04:47 +01:00
Henrik Rydgård
e1cc590e7d
Merge pull request #15292 from Felipefpl/master
Updated pt-br translation
2022-01-10 17:27:27 +01:00
Felipe
a8f23fdbe4
Add files via upload 2022-01-10 13:21:11 -03:00
Henrik Rydgård
c54518a64a
Merge pull request #15295 from unknownbrackets/debugger
softgpu: Output normals to GE debugger
2022-01-10 07:01:14 +01:00
Unknown W. Brackets
a9a07b0935 Vulkan: Avoid crash on bad shader. 2022-01-09 21:34:05 -08:00
Unknown W. Brackets
e57730a97d softgpu: Output normals to GE debugger. 2022-01-09 21:33:45 -08:00
Unknown W. Brackets
d2fa26d4db
Merge pull request #15294 from ccawley2011/keyboard-layout
Use System_GetPropertyInt to report the keyboard layout
2022-01-09 16:54:40 -08:00
Unknown W. Brackets
9595cc3c8c
Merge pull request #15293 from ccawley2011/sdl-credits
UI: Mention SDL in the credits when it's being used alongside Qt
2022-01-09 16:35:20 -08:00
Cameron Cawley
26203552b4 Use System_GetPropertyInt to report the keyboard layout 2022-01-10 00:11:08 +00:00
Cameron Cawley
5adf188ea1 UI: Mention SDL in the credits when it's being used alongside Qt 2022-01-09 23:36:20 +00:00
Felipe
c7886db1df
Update pt_BR.ini 2022-01-09 19:12:46 -03:00
Henrik Rydgård
37c2dd8dd4
Merge pull request #15291 from unknownbrackets/samplerjit-565
samplerjit: Fix alpha for 565 in linear lookup
2022-01-09 22:15:16 +01:00