Commit Graph
39166 Commits
Author SHA1 Message Date
Henrik Rydgård 655c3ee637 Merge pull request #16259 from fp64/bicubic-upscaler-fix
Bicubic upscaler fix
2022-10-20 15:44:33 +02:00
xujibbs 3009c6ee1a Update zh_CN.ini 2022-10-20 19:45:33 +08:00
fp64 2c814c568a Some more codestyle cleanup 2022-10-20 06:59:35 -04:00
fp64 9a01db5f42 Change wrap_mode to clamp for bicubic upscaler
It was set to wrap, even though the comment claimed otherwise. Previous implementation had clamp, as do (I think) other upscaling modes (Hybrid, etc.).

Also make upscaler codestyle a little more consistent with the rest.
2022-10-20 06:53:49 -04:00
Henrik Rydgård 9ae42a2b14 Merge pull request #16258 from hrydgard/remove-unused-attachment-parameter
Remove "attachment" parameter from BindFramebufferAsTexture everywhere.
2022-10-20 10:49:11 +02:00
Henrik Rydgård 2b18241763 Libretro buildfix attempt again 2022-10-20 10:48:40 +02:00
Henrik Rydgård 90d395a10d Remove "attachment" parameter from BindFramebufferAsTexture everywhere.
Not actually useful since our framebuffer objects don't support multiple
color images, and probably won't ever need to.
2022-10-20 10:15:19 +02:00
Henrik Rydgård 1e343370ae Libretro buildfix attempt 2022-10-20 10:02:40 +02:00
Henrik Rydgård ceb4186d0f Merge pull request #16256 from unknownbrackets/headless
headless: Update tests and fix crash running tests on Vulkan
2022-10-19 08:07:20 +02:00
Henrik Rydgård 8cd602a9c6 Merge pull request #16257 from unknownbrackets/error-cleanup
Kernel: Fix reported StopThread error
2022-10-19 08:06:30 +02:00
Unknown W. Brackets a42064eb48 Vulkan: Correct some enum switch warnings.
Nice to log debug annotations anyway.
2022-10-18 21:52:38 -07:00
Unknown W. Brackets 95d8b108be Kernel: Fix reported StopThread error.
Was trying to delete -1, since it was never created.
2022-10-18 21:48:49 -07:00
Unknown W. Brackets 01896a8275 headless: Update passing tests. 2022-10-18 21:35:51 -07:00
Unknown W. Brackets 21573f4302 headless: Fix crash running some tests on Vulkan.
If there's no frame display, tests were crashing because no backbuffer
present blit happened.  This allows those tests to run.
2022-10-18 21:34:59 -07:00
Unknown W. Brackets f009d15078 headless: Allow screenshot to not be 512x272.
Ended up with a cropped screenshot for a frame dump, which just silently
crashed.  Could reject, but easy enough to support.
2022-10-18 21:33:47 -07:00
Henrik Rydgård 4af4b0dddc Merge pull request #16255 from catsout/fix-gl-wayalnd
SDL: fix glew on wayland by ignore glx
2022-10-18 15:42:08 +02:00
gucio321 efda3f052c CMakeList: fix bug when building SDL version for Wayland and using Vulkan failed
fix #16163
2022-10-18 15:36:51 +02:00
catsout 83fccd0835 SDL: fix glew on wayland by ignore glx
glXGetProcAddress works on wayland if linking with x11.
As long as we don't use glx related funcs,
no_glx_error can be ignored.
SDL should handle the no_glx_error brefore glewInit.
Glew is only used to init gl funcs.

related:
https://github.com/nigels-com/glew/issues/172
2022-10-18 20:49:27 +08:00
Henrik Rydgård 1aba331dc0 Merge pull request #16253 from lvonasek/hotfix_openxr_compatibility
OpenXR - Mirroring in some games fixed
2022-10-18 13:01:35 +02:00
Lubos fbb1e7eda0 OpenXR - Use only the first projection matrix in frame for mirroing detection 2022-10-18 12:39:42 +02:00
Lubos eed75889e4 OpenXR - Ensure scene analyze is called the same way as before 2022-10-18 12:23:23 +02:00
Henrik Rydgård c2f97c8a75 Merge pull request #16246 from hrydgard/vr-refactoring
VR: Add the VR code to all builds. Remove IsVRBuild calls from the renderer.
2022-10-18 11:56:48 +02:00
Henrik Rydgård 269eb55c17 Build/warning fix 2022-10-18 10:48:16 +02:00
Henrik Rydgård feb4f9477a Remove newly added dependencies on PPSSPP 2022-10-18 10:35:42 +02:00
Henrik Rydgård 0251f33ec3 Don't use PPSSPP-specific stuff in Common/VR for now. 2022-10-17 23:13:43 +02:00
Henrik Rydgård 0a222345c1 Buildfixes 2022-10-17 20:43:58 +02:00
gucio321 ba0a4e4ff1 lang/pl_PL: add more translations 2022-10-17 20:27:17 +02:00
Henrik Rydgård 8df6efa712 Android non-gradle buildfix 2022-10-17 20:12:54 +02:00
Henrik Rydgård 2ac0b6d8c1 CMakeLists.txt fix 2022-10-17 20:12:54 +02:00
Henrik Rydgård 70488be450 Make as much as possible of the VR code build on all platforms 2022-10-17 20:12:48 +02:00
Henrik Rydgård aa51bfd1ef Use GPU "use" flags to replace IsVRBuild in the renderer. It remains elsewhere. 2022-10-17 19:57:11 +02:00
Henrik Rydgård 7c5fc3ccb5 Reorder the GPU USE flags a bit 2022-10-17 19:55:11 +02:00
Henrik Rydgård 7db6467af9 Merge pull request #16247 from lvonasek/refactor_openxr_tweaks
OpenXR - Code refactor
2022-10-17 19:50:00 +02:00
Lubos be2613d495 OpenXR - Move VR passes count calculation 2022-10-17 19:07:27 +02:00
Lubos 1a6180583e OpenXR - Reduce uniform calls 2022-10-17 19:00:38 +02:00
Lubos 8ed105ff83 OpenXR - Simplify projection matrix analyze 2022-10-17 18:57:47 +02:00
Lubos 468a193d6d OpenXR - Get rid of VR tweaks 2022-10-17 18:52:03 +02:00
Lubos d5c9d15ec3 OpenXR - Move matrix composing out of VR tweaks 2022-10-17 18:31:01 +02:00
Henrik Rydgård eb18a87eee Merge pull request #16186 from lvonasek/feature_openxr_vulkan
OpenXR - Initial work to support multiple render APIs
2022-10-17 14:47:47 +02:00
Henrik Rydgård 123311b0c7 Merge pull request #16241 from unknownbrackets/softgpu-rect
softgpu: Correct linear interp for uneven positions
2022-10-17 09:29:31 +02:00
Unknown W. Brackets 799a533811 Merge pull request #16243 from hrydgard/gpu-support-flag-rename
Rename GPU_SUPPORTS_* to GPU_USE_*
2022-10-17 00:09:54 -07:00
Henrik Rydgård 30aa07b156 Two more renames to make things read better 2022-10-17 08:47:05 +02:00
Henrik Rydgård 9b8a5d1db3 Rename GPU_SUPPORTS_ to GPU_USE_ 2022-10-17 08:47:03 +02:00
Henrik Rydgård daca0b2109 Rename gstate_c.Supports to gstate_c.Use 2022-10-17 08:46:37 +02:00
Henrik Rydgård c5bdc6152f Merge pull request #16242 from unknownbrackets/logic-op
GPU: Replace logic ops with blend for simple cases
2022-10-17 08:44:52 +02:00
Unknown W. Brackets 162b27e136 GPU: Replace logic ops with blend for simple cases.
So that alpha/stencil are handled correctly.
2022-10-16 22:24:43 -07:00
Unknown W. Brackets 7eb7bd5141 softgpu: Correct linear interp for uneven positions.
Can't round to the pixel when calculating the S/T deltas.
This fixes issues in Wipeout (#16131) and Call of Duty bloom.
2022-10-16 18:57:55 -07:00
Unknown W. Brackets 9d6de98ed9 softgpu: Correct drawing outside TL of rectangle.
If the start coordinate was something like 51.75, we were incorrectly
drawing to 51.  This can be seen in the Metal Slug intro (#15755.)
2022-10-16 18:46:38 -07:00
Unknown W. Brackets 1931fa2f5f softgpu: Make triangle fan rect detection generic. 2022-10-16 16:01:09 -07:00
Lubos e90a7de3e4 OpenXR - Add VR mode for stereo flat screen rendering 2022-10-16 20:28:45 +02:00