Commit Graph
755 Commits
Author SHA1 Message Date
Henrik Rydgård d6bd08cae7 Merge pull request #16162 from unknownbrackets/geo-shader
Implement negative Z clipping in geometry shader
2022-10-06 01:00:41 +02:00
Unknown W. Brackets f24edbe8a8 Compat: Remove DisableRangeCulling.
This hack was used because culling previously incorrectly handled Z, which
was fixed in #14833.
2022-10-04 22:19:40 -07:00
GITNE 32f5a7e95f Improve Freedesktop integration
* Move scalable icon install from `${prefix}/share/pixmaps` (`pixmaps` has been
  deprecated long time ago) to `${prefix}/share/icons/hicolor/scalable/apps`
* Add `Keywords`, `Categories`, and `MimeType` keys to `.desktop` file
* Add shared MIME-info on [`application/x-compressed-iso`](https://en.wikipedia.org/wiki/.CSO "Compressed ISO") MIME type
2022-10-05 01:21:52 +02:00
gucio321 5caa43d05a assets/lang: translate some key phrases in pl_PL.ini
I've switched into polish language for a while and noticed
that some parts of settings are not translated... It was a bit...
harmful ;-)
2022-10-02 15:19:54 +02:00
Henrik Rydgård a72a425df6 Use compat.ini to avoid readbacks in Silent Hill: Shattered Memories as well.
NOTE: I'm not 100% convinced this is ok, there might be CPU graphics manipulations here.
But in practice, in the current state where shadows don't work, it'll do.

Thanks mrfixit2001.
2022-09-30 00:03:00 +02:00
Henrik Rydgård 7a4830ed4c Merge pull request #16127 from hrydgard/silent-hill-fixes
Fixes for Silent Hill: Origins (depth buffer reassignment, eliminate readback)
2022-09-28 17:00:56 +02:00
Henrik Rydgård 3adad176cc Add Silent Hill: Origins to compatibility setting BlockTransferAllowCreateFB.
Eliminates a readback with (so far) no perceptible bad effects.
2022-09-28 13:56:03 +02:00
Stuart Kenny 1d5fc2feaa Remove alpha ignore in xbrz texture shaders. 2022-09-27 20:22:58 +01:00
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 d79828270a Add Burnout Dominator to list of games that require buffered rendering
It does run without but looks really bad, don't want reports of this.
2022-09-23 09:13:34 +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
Lubos c4dbd6d045 Merge branch 'master' into compat_openxr_gta 2022-09-20 21:46:33 +02:00
Henrik Rydgård 4045de8d56 Consider the Adreno and Mali stencil-discard bugs the same. Use the better check from the Mali bug.
Should fix #11980
2022-09-18 10:34:43 +02:00
Henrik Rydgård ac9677dcc0 Ah, need to enable the Mali workaround for Outrun's water, too. 2022-09-16 13:14:44 +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 36c98ab367 Address feedback, change roles of the two dynamic clut fbos to eliminate the need for state (see next commit) 2022-09-15 09:15:02 +02:00
Henrik Rydgård 9c2bfad749 Seems Need for Speed: Shift has exactly the same lens flare, enable the same compat settings. 2022-09-15 00:18:26 +02:00
Henrik Rydgård d6d7a15d25 Get depal-from-dynamic-CLUT working 2022-09-14 22:18:35 +02:00
Henrik Rydgård 650ce22359 Force low resolution for effects in Burnout Dominator. Fixes lens flare at high res 2022-09-14 22:18:34 +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
Henrik Rydgård d551d0dd8f Enable DownloadCLUT and ShaderBitmask for Burnout Dominator 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 4b93dc031c OpenXR - Requested header change in compatvr.ini 2022-09-12 21:28:08 +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
LunaMoo d25602f01b Add Rewrite to DrawSyncEatCycles hack, softlocks without it 2022-09-11 21:47:07 +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 f399e3c7e6 Disable BlueToAlpha mode when logic op is present. Re-enable for Outrun and DiRT. 2022-09-05 09:51:17 +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
Henrik Rydgård b15c65540e Fix the new logic-op-in-shader on OpenGL and D3D11
Also disable BlueToAlpha for now for Outrun and DiRT 2, it breaks the
water effect somehow. Will come back to it later.
2022-09-04 22:53:05 +02:00
Lubos 93a2817062 Merge branch 'feature_openxr_stereo' into compat_openxr_gta 2022-09-04 16:33:33 +02:00
Henrik Rydgård 8194bb73a1 Turn on logic ops in shader when shader bitmasking is used. 2022-09-04 11:43:36 +02:00
Henrik Rydgård 010c3b4f4b minor sv translation fix 2022-09-03 15:21:07 +02:00
Henrik Rydgård 8c56abd3dc Remove setting "Disable slower framebuffer effects" 2022-09-03 11:06:43 +02:00
Henrik Rydgård 67d6549afd Rename Slow Framebuf effects to Shader Blending (might remove). Reassign readbacks to BlockTransferGPU. 2022-08-31 14:23:33 +02:00
Lubos 30a3cb622a Force clearing framebuffer for GTA games 2022-08-30 21:09:12 +02:00
Henrik Rydgård 1b3b1acefa Tweak ForceMax60Fps to work for Killzone 2022-08-30 20:10:44 +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 8bf1b2be53 Reinterpret is the proper fix for God of War's shadows. 2022-08-27 19:23:17 +02:00
Henrik Rydgård 28cfbdd2d7 Enable reinterprets and create-buffer-on-copy for the Tantalus games 2022-08-27 14:05:49 +02:00
Henrik Rydgård 3c5ec25f61 Initial implementation of 32/16-bit color reinterpret blits. 2022-08-26 15:51:25 +02:00
Henrik Rydgård e2707d3ab3 Remove debug code, cleanup 2022-08-21 09:58:58 +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