Commit Graph
47140 Commits
Author SHA1 Message Date
Henrik Rydgård 6ca47076e7 Delete the Vulkan implementation of DrawActiveTexture, fixups to shader gen 2022-08-03 14:12:55 +02:00
Henrik Rydgård 1fe2bced54 Delete the D3D9 impl of DrawActiveTexture 2022-08-03 14:12:55 +02:00
Henrik Rydgård 1d3075566f Move to common (todo: merge with above) 2022-08-03 14:12:55 +02:00
Henrik Rydgård d55c4a3456 Convert the D3D11 DrawActiveTexture to thin3d 2022-08-03 14:12:55 +02:00
Henrik Rydgård 59b3df0643 Draw2D 2022-08-03 14:12:55 +02:00
Henrik Rydgård 4e4ccbd819 Merge pull request #15754 from hrydgard/unify-stencil-draw
Unify stencil upload using thin3d
2022-08-03 14:11:35 +02:00
Henrik Rydgård 3e1ccf1311 Need a separate cap bit for stencil blits to prevent misuse on D3D9 2022-08-03 13:40:21 +02:00
Henrik Rydgård 41e327a66b Cleanup and testfixes 2022-08-03 13:34:59 +02:00
Henrik Rydgård cacb2a3200 Unit test, comment 2022-08-03 13:34:58 +02:00
Henrik Rydgård 9963cd55f0 Rebind the framebuffer only if we're in the blit path. 2022-08-03 13:33:54 +02:00
Henrik Rydgård d26e637bb8 Bufferless path for D3D11/Vulkan
Though we still bind the buffer for simplicity..
2022-08-03 13:33:53 +02:00
Henrik Rydgård 269bff9c0b Get D3D shaders to build (though not working correctly) 2022-08-03 13:31:15 +02:00
Henrik Rydgård 787de81437 Switch to ShaderWriter. Works in OpenGL 2022-08-03 13:31:15 +02:00
Henrik Rydgård 9bead443c3 Unify stencil buffer upload using Draw. Only OpenGL tested yet (shaders need adaptation). 2022-08-03 13:31:13 +02:00
Henrik Rydgård d4d92e39ff Implement DrawUP for D3D11
This is so we can do simple drawing without buffer management through
thin3d on all backends.
2022-08-03 13:28:54 +02:00
Henrik Rydgård d6664f20e0 Merge pull request #15781 from hrydgard/blit-feature-cleanup
Blit feature detection cleanup
2022-08-03 13:18:01 +02:00
Lubos cb6448ff2d Merge branch 'master' into feature_openxr_6dof 2022-08-02 21:01:05 +02:00
Lubos 4814bed7df OpenXR - HUD support added 2022-08-02 20:58:16 +02:00
Henrik Rydgård 770cb49f94 GLES: FramebufferBlit: Don't blit if the target is the current framebuffer. 2022-08-02 14:57:20 +02:00
Henrik Rydgård 19931c003f Clean up blit/copy feature detection. Don't need fast GPU flags for these. 2022-08-02 09:53:46 +02:00
Henrik Rydgård 710c6b6ad1 Fix crash in shader upscaling. This variable shadowed the one that now lives in Common.
Fixes #15778
2022-08-02 08:33:50 +02:00
Lubos 2103874c0f OpenXR - Estimate world unit scale 2022-08-01 19:28:50 +02:00
Lubos 4a3f809588 OpenXR - Head orientation in some games fixed 2022-08-01 17:47:24 +02:00
Lubos aea91bda1d OpenXR - Refactor the common math methods 2022-08-01 17:11:23 +02:00
Henrik Rydgård 714afb46a2 Merge pull request #15772 from hrydgard/color-to-depth
Add support for binding the depth buffer as a color target. Fixes Kurohyo depth sorting
2022-08-01 16:45:51 +02:00
Henrik Rydgård 0f401c2d1f Merge pull request #15775 from hrydgard/enable-blue-to-alpha
Use BlueToAlpha in more games instead of ReinterpretFramebuffers/ShaderColorBitmask
2022-08-01 16:18:45 +02:00
Henrik Rydgård 3dc924cebe Use BlueToAlpha in more games instead of ReinterpretFramebuffers/ShaderColorBitmask
Switches over Outrun and DiRT 2.

See https://github.com/hrydgard/ppsspp/issues/11358#issuecomment-720160221

Better performance and removes some color banding.
2022-08-01 16:14:42 +02:00
Henrik Rydgård 5da7dd42b5 Fix Vulkan as well 2022-08-01 15:48:52 +02:00
Henrik Rydgård b940c8a8b7 Fix for D3D11 and GL, but not Vulkan for some weird reason 2022-08-01 15:45:05 +02:00
Henrik Rydgård fce792458b Avoid upscaling textures used for color-to-depth.
(Not a perfect method, it could theoretically have been upscaled in a
normal render pass...)
2022-08-01 14:10:51 +02:00
Henrik Rydgård f73995b5db Disable texture filtering when drawing color into depth 2022-08-01 14:08:16 +02:00
Henrik Rydgård 7b7d16d2fb D3D9 fix 2022-08-01 12:11:42 +02:00
Henrik Rydgård 73fc9fb520 OpenGL fix 2022-08-01 11:57:22 +02:00
Henrik Rydgård 655cadc281 D3D11 fix 2022-08-01 11:54:42 +02:00
Henrik Rydgård 90a44579bf Implement color-to-depth for Vulkan, start implementing for D3D11 2022-08-01 11:30:36 +02:00
Henrik Rydgård 93321f2d5e Add logging for some non-traditional uses of framebuffers. 2022-08-01 11:30:21 +02:00
Henrik Rydgård 9437d5e3b0 Fix small breakage in Vulkan texture decoder 2022-08-01 11:29:25 +02:00
Henrik Rydgård e1956b47a0 Merge pull request #15727 from hrydgard/texture-3d
Implement the PSP's equal-size mips "3D texturing"
2022-08-01 08:35:43 +02:00
Henrik Rydgård 4a29b67dad Merge pull request #15770 from rofl0r/ci_tag_ver_fix
CI: fix tag regex to match also shorter tags like v1.13
2022-08-01 01:16:39 +02:00
Henrik Rydgård 3331654396 Fix Macross glitches. 2022-08-01 00:19:47 +02:00
Henrik Rydgård 99b4e7c54c Vulkan: Don't try to auto-mipmap 3D textures in max quality filter mode 2022-08-01 00:16:57 +02:00
Henrik Rydgård a4c69ce301 Merge pull request #15769 from ANR2ME/uwp
[UWP] Fixes UWP building issue after Retargeting Solution to a different SDK version
2022-07-31 22:03:04 +02:00
Lubos e6b14cb473 OpenXR - 6DoF head movement support added 2022-07-31 20:05:08 +02:00
ANR2ME d30d652265 Fixes UWP building issue after Retargeting Solution to a different SDK version.
PS: This won't work when selecting the "latest installed version" tho, so a specific version need to be selected when retargeting.
2022-08-01 00:52:54 +07:00
Lubos 8117f05395 OpenXR - Renderer support for axis mirror added 2022-07-31 19:08:47 +02:00
Lubos d129870d44 Merge branch 'master' into feature_openxr_6dof 2022-07-31 16:37:54 +02:00
Henrik Rydgård 392d83fb22 Merge pull request #15659 from lvonasek/feature_openxr_quest
Oculus Quest native support
2022-07-31 16:34:45 +02:00
Lubos 4691b376d1 OpenXR - Use a build variant instead of a module 2022-07-31 15:27:15 +02:00
rofl0r f1e235a8e7 CI: fix tag regex to match also shorter tags like v1.13
the previous tag regex matched only tagnames with 2 dots in them,
that's why the build.yml didn't run for the v1.13 tag.

addressing https://github.com/hrydgard/ppsspp/issues/15737
2022-07-31 12:26:51 +00:00
Henrik Rydgård 8260b4667d Merge pull request #15700 from hrydgard/better-depth-tracking
Track depth buffers separately from framebuffers to track previous use for copies
2022-07-31 10:59:09 +02:00