Commit Graph
47140 Commits
Author SHA1 Message Date
Henrik Rydgård 04c02340f1 Merge pull request #15998 from unknownbrackets/softgpu-rect
softgpu: Allow almost flat rectangles to go fast
2022-09-11 08:54:04 +02:00
Henrik Rydgård d011768cdd Merge pull request #16001 from unknownbrackets/softgpu-earlyz
softgpu: Check depth test early on simple stencil
2022-09-11 08:52:51 +02:00
Unknown W. Brackets 4889d5285d vertexjit: Use consistent skinInDecode.
Just a little cleanup.
2022-09-10 21:54:04 -07:00
Unknown W. Brackets 15d5fa48f7 softgpu: Check depth test early on simple stencil.
If we don't need to write stencil on sfail/zfail, we can do the depthtest
early, which allows us to more often skip texture sampling.

This gives a good improvement in Chains of Olympus.
2022-09-10 21:24:19 -07:00
Unknown W. Brackets 90e009edb9 softgpu: Clamp/wrap textures at 512 pixels.
A texture larger than 512 is "valid", but simply wraps/clamps at 512.
Importantly, the texture coords are still calculated at the specified
size, which can be up to 32768.
2022-09-10 20:23:09 -07:00
Unknown W. Brackets 123d6dbb11 GE Debugger: Correct confusing block transfer size. 2022-09-10 20:17:54 -07:00
Unknown W. Brackets 1056301c95 D3D11: Prevent crash on larger textures. 2022-09-10 20:16:05 -07:00
Unknown W. Brackets 3242bb8d66 TexCache: Allow valid bufw sizes.
These don't cause crashes anymore.
2022-09-10 20:15:43 -07:00
Unknown W. Brackets 6c6d817ce7 Vulkan: Avoid crash if large texture attempted.
Doesn't do the clamp/wrap thing, but at least this won't crash.
2022-09-10 20:14:37 -07:00
Unknown W. Brackets 100cbec620 GE Debugger: Fix crash on bp before list running. 2022-09-10 19:45:08 -07:00
Unknown W. Brackets 18c9a4d9c9 GE Debugger: Fix crash stepping with large tex.
Some math was overflowing in allocations, and it would allocate zero
bytes.  Let's just refuse textures more actively.
2022-09-10 19:31:53 -07:00
Unknown W. Brackets f5f5c9ea87 softgpu: Avoid calling unordered coords tl/br.
These are just corners, we don't know if they're top or not at this point.
2022-09-10 14:58:27 -07:00
Unknown W. Brackets 13ca08b235 softgpu: Avoid over-aggressive rect conversion.
The TL and BR have to match between UVs and pos, not enough for UV to be
in order.  This was causing an artifact on Chains of Olympus' title.
2022-09-10 14:56:13 -07:00
Unknown W. Brackets 2505ae2858 GE Debugger: Fix logging of texture size. 2022-09-10 13:36:01 -07:00
Unknown W. Brackets e7d49cd7d0 softgpu: Allow almost flat rectangles to go fast.
Improves transform rectangles used in Chains of Olympus, for example on
the title screen.
2022-09-10 13:29:40 -07:00
Unknown W. Brackets 6004d4a459 softgpu: Refactor duplicate rectangle compat check.
This just moves the logic to a single place for changes.
2022-09-10 13:28:35 -07:00
Henrik Rydgård a2ca85bc87 Add logging for LoadCLUT from framebuffer. See #15923 . Logs nicely in Burnout Dominator. 2022-09-10 19:32:39 +02:00
Henrik Rydgård b5822939b6 Merge pull request #15997 from unknownbrackets/debugger-gecond
GE Debugger: Correct cond break removal warnings
2022-09-10 18:28:21 +02:00
Henrik Rydgård 97ca40530b Merge pull request #15996 from unknownbrackets/vulkan-compile-thread
Vulkan: Wake compile thread when enqueued
2022-09-10 18:28:08 +02:00
Unknown W. Brackets c200aa6f4b GE Debugger: Correct cond break removal warnings.
Oops, they were just always confirming.
2022-09-10 08:52:50 -07:00
Unknown W. Brackets 54fe342f4b Vulkan: Wake compile thread when enqueued.
Previously was being woken up every frame unconditionally, causing some
logspam.
2022-09-10 08:30:09 -07:00
Henrik Rydgård d66c5c11c1 Merge pull request #15995 from unknownbrackets/merge-hotfix
Merge v1.13.2 into mainline
2022-09-10 16:57:23 +02:00
Unknown W. Brackets f6f056d557 Merge tag 'v1.13.2' into merge-hotfix
v1.13.2
2022-09-10 07:37:02 -07:00
Henrik Rydgård 9fe6338e3b Update version to 1.13.2 v1.13.2 2022-09-10 15:50:49 +02:00
Henrik Rydgård 4090112bf8 Update README.md for v1.13.2 2022-09-10 09:32:12 +02:00
rofl0r d41b94d12d CI: make indentation in tarball.yml consistent 2022-09-10 09:32:11 +02:00
rofl0r cc25ec5faa CI: also upload release source tarball on tag push
the mac os build action uses an action that automatically creates
a release from a tag push, which circumvents triggering the regular
release actions.

also switch from the unmaintained actions/upload-release-asset@v1
to the active softprops/action-gh-release@v1 action.

closes #15761
2022-09-10 09:32:11 +02:00
Unknown W. Brackets 38ba29240b GPU: Dirty params when converting viewport state.
This flag will be false when we convert next time, so parameters won't get
updated as expected.
2022-09-10 09:32:11 +02:00
Unknown W. Brackets fbc02bdf12 softgpu: Correct morph weight updates.
Broke LittleBigPlanet character's face, for example.
2022-09-10 09:32:11 +02:00
Unknown W. Brackets 0fe7589a9d Merge pull request #15994 from ssokolow/patch-1
Add Emulator to Categories in ppsspp.desktop.in
2022-09-09 20:38:49 -07:00
Stephan Sokolow d560c79019 Add Emulator to Categories in ppsspp.desktop.in
Add the "Emulator" subcategory to the .desktop file so launchers can better auto-sort their contents.
2022-09-10 01:54:13 +00:00
Henrik Rydgård e56e5947d5 Vulkan: Declare gl_Position as invariant. See #11583
The code that computes shader outputs declared as invariant gets certain
optimizations disabled that could change the value - it makes it more
likely that different ways to do the same calculations end up with the same value.

This can help some types of Z fighting problems and similar.

Generally not a big deal for performance, plus, we're rarely vshader-bottlenecked...
2022-09-10 00:26:23 +02:00
iota97 a5564c2ce2 readme link 2022-09-09 11:56:11 +02:00
Unknown W. Brackets 79b864b89a D3D9: Correct viewport offset sign. 2022-09-09 11:56:11 +02:00
Unknown W. Brackets 04a8995080 D3D11: Correct viewport offset sign handling. 2022-09-09 11:56:11 +02:00
Henrik Rydgård 80e0bb9c1f Remove a per-audio-frame allocation in sceAudio 2022-09-09 11:56:11 +02:00
Henrik Rydgård 024f8ef89b Initialize a bunch of Dialog structs 2022-09-09 11:56:11 +02:00
Unknown W. Brackets dab4365557 Font: Correct uninitialized values. 2022-09-09 11:56:11 +02:00
Unknown W. Brackets e356c495db Atrac: Avoid accessing uninitialized stream status.
Only mess with this in a stream mode.
2022-09-09 11:56:11 +02:00
Unknown W. Brackets 6e5f056000 Atrac: Avoid an uninitialized value. 2022-09-09 11:56:11 +02:00
Unknown W. Brackets 4b66f967f4 softgpu: Correct bad munmap() size. 2022-09-09 11:56:11 +02:00
Henrik Rydgård 733152969b atrac3: Apply the overallocation workaround in a couple more places. Fixes #15788 . 2022-09-09 11:56:11 +02:00
Henrik Rydgård a6e4ec9973 Atrac3+: Allocate some extra bytes for the data buffer to workaround decoder bug. 2022-09-09 11:56:04 +02:00
Henrik Rydgård 42b2b0a266 atrac3: Apply the overallocation workaround in a couple more places. Fixes #15788 . 2022-09-09 11:54:20 +02:00
Henrik Rydgård e5d1bb5552 Warning fix 2022-09-09 11:34:11 +02:00
Henrik Rydgård bbba18ad60 Merge pull request #15990 from hrydgard/atrac3plus-crash-workaround
Atrac3+: Allocate some extra bytes for the data buffer to workaround decoder bug.
2022-09-09 10:25:41 +02:00
Henrik Rydgård 818334c592 atrac3: Allocate some extra bytes for the data buffer to workaround decoder bug. 2022-09-09 09:58:11 +02:00
Lubos 214a5572c3 OpenXR - Compile fix 2022-09-08 19:00:41 +02:00
Luboš Vonásek 5be9455bf5 Merge branch 'hrydgard:master' into compat_openxr_gta 2022-09-08 18:39:11 +02:00
Lubos c9f08a85c6 OpenXR - Do not mashup Common/GPU 2022-09-08 18:25:10 +02:00