Commit Graph
3246 Commits
Author SHA1 Message Date
Henrik Rydgård 27ba7438eb Comment fix, cleanup 2022-08-27 10:05:47 +02:00
Henrik Rydgård 6781dd5fe8 Fix Katamari 2022-08-26 23:47:22 +02:00
Henrik Rydgård 693fd0870f Bugfix, better logging 2022-08-26 23:26:44 +02:00
Henrik Rydgård 39690a95be Quick hack to widen the depal texture if 0x200000 swizzle is needed 2022-08-26 17:09:22 +02:00
Henrik Rydgård dfccdc6367 More successful swizzle impl. Not perfect 2022-08-26 16:16:11 +02:00
Henrik Rydgård 6aecbef11f Unsuccessful swizzle implementation 2022-08-26 16:06:45 +02:00
Henrik Rydgård 1ccfd7986a wip 2022-08-26 15:51:25 +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 afb90f6b04 Refactor reinterpret to prepare for 16/32-bit 2022-08-26 15:51:25 +02:00
Henrik Rydgård eeb784b417 Prepare for 16/32 reinterpret 2022-08-26 15:51:25 +02:00
Henrik Rydgård 9a82a7d659 Detect need for 16<->32-bit reinterprets 2022-08-26 15:51:25 +02:00
Henrik Rydgård cd0a31a3cd Work in bytes in the framebuffer matching algorithm for block copies, avoid margins 2022-08-26 15:51:25 +02:00
Henrik Rydgård 7cba231e58 Finish the depal refactoring.
Needed for an upcoming change (since this lets us use the Draw2D
uniform mechanism in depal shaders).
2022-08-26 15:47:29 +02:00
Henrik Rydgård 4390a05fe0 Fix shader compilation error in depth->565 2022-08-26 15:13:32 +02:00
Henrik Rydgård e6bb512a39 Remove support for framebuffers changing stride (already unreachable).
Also fixes a compiler warning
2022-08-25 19:07:07 +02:00
Henrik Rydgård 656932397b Revert minimum stride 2022-08-25 18:56:04 +02:00
Henrik Rydgård 753062b2a1 More comment fixes, cleanups 2022-08-25 00:52:45 +02:00
Henrik Rydgård 272019f23a Comments 2022-08-25 00:47:19 +02:00
Henrik Rydgård f79acd651d Comment updates 2022-08-25 00:29:44 +02:00
Henrik Rydgård bbd92e6345 Merge the two find FindTransferFramebuffer* methods 2022-08-25 00:22:33 +02:00
Henrik Rydgård 9feb61e7fa Additional renaming 2022-08-25 00:19:08 +02:00
Henrik Rydgård d0713d7fff Rename variables to make the two functions match 2022-08-25 00:17:01 +02:00
Henrik Rydgård 62a834d15e Split up FindTransferFramebuffers 2022-08-25 00:12:31 +02:00
Luboš Vonásek 8885600bd5 Merge branch 'hrydgard:master' into feature_openxr_stereo 2022-08-24 22:01:08 +02:00
Henrik Rydgård 3ce59ced54 Merge pull request #15900 from hrydgard/stride-gap
Detect framebuffers that live in the "stride gap" of others, fix size
2022-08-24 20:03:35 +02:00
Luboš Vonásek 11a6318509 Merge branch 'hrydgard:master' into feature_openxr_stereo 2022-08-24 19:50:45 +02:00
Henrik Rydgård 416d8b403b Merge pull request #15768 from lvonasek/feature_openxr_6dof
OpenXR - 6DoF support
2022-08-24 18:49:41 +02:00
Henrik Rydgård 04740d069c Tighten the check a bit more 2022-08-24 18:35:42 +02:00
Henrik Rydgård 1feae894d3 Reorder some parameters. Detect buffers in stride gaps. 2022-08-24 18:31:10 +02:00
Henrik Rydgård d0a3b9886f Remove unused function decl 2022-08-24 18:25:45 +02:00
Henrik Rydgård 853a2df064 Merge pull request #15892 from hrydgard/rework-reinterpret
Reimplement framebuffer reinterpret on the new color copy framework
2022-08-24 18:20:27 +02:00
Henrik Rydgård 67c911d13f Fix smoothed CLUT lookups. Shouldn't go beyond the mask's reach.
Should help #15896
2022-08-24 17:13:36 +02:00
Henrik Rydgård 048a556ada Add floating point version of reinterpret shaders 2022-08-24 14:40:37 +02:00
Henrik Rydgård 99404f0a15 Fix BlueToAlpha together with reinterpret. Add back fake reinterpret for now. 2022-08-24 14:40:37 +02:00
Henrik Rydgård c6f20bda18 Reimplement texture format reinterpretation 2022-08-24 14:40:37 +02:00
Henrik Rydgård b529d26f3a Fix smoothed depal on GLES. Don't enable filtering if not using. 2022-08-24 13:43:41 +02:00
Henrik Rydgård 586da08820 Merge pull request #15895 from unknownbrackets/gpu-minor
GPU: Correct Draw2D::DeviceRestore()
2022-08-24 11:50:42 +02:00
Henrik Rydgård d459eac891 Fix checks for depth texture support, GLES syntax errors 2022-08-24 11:26:07 +02:00
Henrik Rydgård bd674c47b6 OpenGL: Fix regular depal (shader depal still worked) that broke recently 2022-08-24 11:01:57 +02:00
Luboš Vonásek c5cb45b1f7 Merge branch 'hrydgard:master' into feature_openxr_6dof 2022-08-24 06:55:31 +02:00
Henrik Rydgård 5d50d02227 Merge pull request #15894 from unknownbrackets/debugger
GE Debugger: Record only one flip if display framebuf not changed, step on vsync
2022-08-24 06:27:31 +02:00
Unknown W. Brackets 7ec62a32b4 GPU: More consistently clear ptrs on DeviceLost().
Rather get a null pointer crash than confusing buggy use-after-free
excitement.
2022-08-23 20:15:30 -07:00
Unknown W. Brackets 47b7305bf5 GPU: Correct Draw2D::DeviceRestore(). 2022-08-23 20:07:53 -07:00
Unknown W. Brackets a901fa4315 GE Debugger: Add separate step based on vsync.
I think there were some games where this would step in the middle of a
frame, but not seeing it commonly now.  So make it the default, but allow
both methods in the menu.

Fixes #15893.
2022-08-23 19:48:34 -07:00
Unknown W. Brackets c581a83896 GPU: Centralize SetDisplayFramebuffer(). 2022-08-23 19:29:06 -07:00
Henrik Rydgård fc81b76b98 Vulkan: Very minor chnages after checking Best Practices with new validation layer 2022-08-23 23:55:53 +02:00
Henrik Rydgård 5084743bbb Use Draw2D for depal shaders (except the actual blit, for now) 2022-08-23 11:21:40 +02:00
Henrik Rydgård 60e129d88e Break out Draw2D in a class 2022-08-23 11:12:23 +02:00
Henrik Rydgård 83b7386f7d Switch reinterpret shaders over to the Draw2D framework. 2022-08-23 11:12:23 +02:00
Henrik Rydgård 65e4e249ec More Draw2D refactoring 2022-08-23 11:12:23 +02:00