Henrik Rydgård
1c0d66aef7
Add compatibility flag for loading pixels on framebuffer create using nearest filtering
...
Solves the last problem with the speedometers - so we can finally say: Fixes #8509
Render-to-CLUT for speedometers renders on top of an image that just comes from the
underlying memory, so it's been drawn to the framebuffer with DrawPixels. That adds
filtering so at higher resolutions, there's some blurring of the CLUT, causing
artifacts. We can solve this two ways: either we force on lower-resolution-for-effects
for Ridge Racer games, or we use nearest filtering when doing DrawPixels of the
memory under a framebuffer. For best result, we do the latter.
(The speedometers look even better with nearest filtering, but that's a more
general issue of UI looking better that way).
2022-09-26 20:47:55 +02:00
Lubos
adffbb2ea7
Merge branch 'master' into compat_openxr_gta
2022-09-23 14:16:58 +02:00
Henrik Rydgård
0ab5d4be7f
Use Unknown's idea from #16081 instead of the UploadDepthForCLUTTexture compat.ini flag.
2022-09-22 20:00:35 +02:00
Luboš Vonásek
861af63be9
Merge branch 'hrydgard:master' into compat_openxr_gta
2022-09-16 10:20:11 +02:00
Henrik Rydgård
a52e62a187
Enable depth uploads on render-to-clut-buffer. Esoteric but needed for #11100 . Compat flag for now.
2022-09-14 22:18:34 +02:00
Lubos
e4f44e680d
OpenXR - Move skyplane compat flag into compatvr.ini
2022-09-13 21:16:03 +02:00
Lubos
e406dc4730
Merge branch 'master' into compat_openxr_gta
2022-09-13 21:01:55 +02:00
Lubos
b695c1ffb3
Merge branch 'master' into compat_openxr_gta
2022-09-12 23:04:31 +02:00
Lubos
e49ee5c93b
Merge branch 'master' into feature_openxr_stereo
2022-09-12 18:49:22 +02:00
Lubos
bdde5f0f7f
OpenXR - Use per game stereo separation file
2022-09-12 18:47:13 +02:00
Henrik Rydgård
33a93e238a
CLUT download: Replace the broken block transfer check with a new compat flag.
...
This compat flag should be temporary until we've implemented
a readback-free path for CLUTs from framebuffers, both when texturing
from static textures and other framebuffers.
2022-09-11 10:27:21 +02:00
Lubos
4b129bb9c3
OpenXR - Refactor VR compat integration
2022-09-07 15:52:50 +02:00
Lubos
4ff3e496c5
Merge branch 'master' into compat_openxr_gta
2022-09-07 14:58:18 +02:00
Henrik Rydgård
7065a7fa8f
Water effect fix #1 : Force "Lower resolution for effects" on in Outrun and DiRT 2
2022-09-04 23:42:35 +02:00
Lubos
93a2817062
Merge branch 'feature_openxr_stereo' into compat_openxr_gta
2022-09-04 16:33:33 +02:00
Lubos
30a3cb622a
Force clearing framebuffer for GTA games
2022-08-30 21:09:12 +02:00
Henrik Rydgård
987bfc79ef
Split the framebuffer in Killzone, with a compatibility flag.
...
Greatly improves performance.
See issue #6207
2022-08-30 20:05:56 +02:00
Henrik Rydgård
340c75a2d9
Remove "DisableReadbacks" compat flag. MotoGP no longer needs it after BlockTransferAllowCreateFB was added.
2022-08-30 13:16:36 +02:00
Henrik Rydgård
333df62691
Remove the reinterpret compat flag, now always on
...
Remove ini entries
2022-08-29 17:41:29 +02:00
Henrik Rydgård
89c96142a1
Really not sure how we can detect whether a depth deswizzle is needed :( Hopefully temporary flag...
2022-08-21 09:58:58 +02:00
sum2012
e373c9063c
Use compat.ini instead
2022-08-14 14:54:06 +08:00
Henrik Rydgård
15f5ed81a7
Add a simple compat flag to workaround the Clone Wars issue, #12949
...
Could probably also be fixed by changing the heuristic a bit, but since
we're in heuristic land anyway and close to a release, I feel this is
the safest option.
Also sneaks in a logspam reduction
2022-07-15 11:44:51 +02:00
LunaMoo
4b959c6b54
Add Zettai Zetsumei Toshi 3 bypass for softlock on character select screen
2022-07-14 23:17:32 +02:00
Henrik Rydgård
d2002eab39
Merge pull request #15640 from LunaMoo/master
...
Disable ForceMax60FPS for GOW games and replace it with fixed 60 fps
2022-07-10 23:25:35 +02:00
Henrik Rydgård
75bae070de
Merge pull request #15648 from unknownbrackets/ignore-compat
...
Compat: Add setting to skip compat flags
2022-07-05 00:17:42 +02:00
Unknown W. Brackets
0f9f53c1b7
Compat: Add setting to skip compat flags.
...
This allows configuring "ALL" to skip all, regardless of if new game IDs
are added in a later stable release.
2022-07-04 14:48:48 -07:00
LunaMoo
5a06776999
Change hack names and edit comments based on feedback.
2022-07-04 00:58:48 +02:00
LunaMoo
85fa15179a
Add 30 fps version as an option, doesn't suffer from softlock
2022-07-02 21:43:43 +02:00
LunaMoo
0dcf8242f5
Add Fixed60FPShack for GOW, should work smoother than the ForceMax60FPS.
...
Also more stable than it's CWCheat version, unfortunately because of that,
still causes softlock in GOW:GOS vortex stage.
2022-07-02 19:39:35 +02:00
Henrik Rydgård
8922be2015
Out of performance paranoia, limit the Mali workaround to known affected games
2022-06-19 01:48:37 +02:00
Henrik Rydgård
c82d8a04e0
Add centered line drawing for Echochrome.
2022-06-11 00:20:35 +02:00
Henrik Rydgård
462972f7ea
Add option to redirect blue to alpha if 565 mode is rendered and mask is 0x0FFFFF.
...
This is used by several games to render to the alpha channel of RGBA4444
images, which cannot normally be done directly on the PSP.
Can be used as a far more efficient replacement for
ReinterpretFramebuffers/ShaderColorBitmask
2022-04-30 18:17:16 +02:00
Unknown W. Brackets
07cb37c2c1
Compat: Remove single/double sincos path.
...
New implementation should work for both cases.
2021-04-25 07:09:50 -07:00
Henrik Rydgård
8b101ae4a1
Rename the new warmup variable from #14091
2021-02-09 16:11:59 +01:00
sum2012
b127aace57
Only allow sceMpegGetAvcAu warmup for God Eater Series
...
Fix #14086
2021-02-09 22:46:09 +08:00
Henrik Rydgård
16f629df3e
Split the DepthRangeHack compat setting into itself and DisableRangeCulling
...
Most of our uses of DepthRangeHack was just to get DisableRangeCulling anyway -
and we don't want that on when not needed.
Also disables range culling for Splinter Cell Essentials (see #13035 )
We really need to understand range culling better. This is a "ship hack" for 1.11.
2020-12-26 19:56:49 +01:00
Henrik Rydgård
bdf36a4141
Temporary workaround for Wipeout Pure lens flare flicker.
...
See #13344 .
Will try to figure out something better after the next release...
2020-12-20 13:04:28 +01:00
Henrik Rydgård
d5fe6154b5
Enable color reinterpret for Ultimate Ghosts & Goblins
...
The game uses it by accident probably, but whatever - it's a clean fix.
Fixes, but only for "modern" APIs, #13717 .
2020-11-27 23:52:33 +01:00
Henrik Rydgård
9e4c7c84ac
Only use double precision sincos in Hitman Reborn Battle Arena 2. See #12900
2020-11-23 23:51:07 +01:00
Henrik Rydgård
9105249901
Add compat flag for reinterpret shader, also disable on platforms that can't support it yet
2020-11-08 11:32:55 +01:00
Unknown W. Brackets
c95e695a38
Io: Track initial free space for compat flag.
...
This seems to be necessary for Assassin's Creed. See #12761 .
2020-10-19 22:42:49 -07:00
shenweip
2d68dc1c16
Workaround for date bug in Car Jack Streets.
2020-10-11 16:19:06 +08:00
Henrik Rydgård
b28baed7d3
Create a safer variant of BlockTransferAllowCreateFB, enable for FF Type 0
...
Performance improvement by avoiding unnecessary readbacks.
New one is called IntraVRAMBlockTransferAllowCreateFB.
This one only allows intra-VRAM block transfers to happen on-GPU, such as the one this
game uses for bloom. Good chances to avoid missing stuff that actually requires
real readback, if there's any.
2020-10-10 23:59:51 +02:00
Henrik Rydgård
92e6a91ae7
Add compat.ini setting to work around memstick size math problem in Harry Potter - Goblet of Fire
...
See issue #13266
2020-10-06 00:12:58 +02:00
Henrik Rydgård
714205d699
Vulkan: Enable renderpass merging for all games (was introduced in 1.9 for GoW games). A number of other games can also benefit.
2019-11-30 22:44:59 +01:00
Henrik Rydgård
9099441973
Darkstalkers: Gross hack to avoid the game's own stretch, and present the raw buffer instead for a sharper image.
2019-10-27 20:54:36 +01:00
Henrik Rydgård
19a1fa8430
Add a compat.ini flag for software rendering, use it to force on in Darkstalkers
2019-10-27 20:54:36 +01:00
Henrik Rydgård
93412aff3b
Vulkan: Automatically merge render passes to the same target when possible.
...
Should speed things up a bit on mobile in some games that do stupid
things like GoW. Currently only enabled in GoW, but plan to enable this
globally as it should be quite cheap when nothing is detected.
2019-08-21 20:32:23 +02:00
Henrik Rydgård
f65a71d6d8
Compat: Option to use accurate dotprod for VMMUL.
...
Eliminates Tekken 6 leg shaking.
2019-08-05 11:44:52 -07:00
Henrik Rydgård
4d195ce955
Workaround for DJ Max Portable's clumsy copy protection. Fixes #9477 .
2019-08-01 18:45:28 +02:00