Commit Graph
34016 Commits
Author SHA1 Message Date
Henrik Rydgård a44f38d44a Merge pull request #16264 from leoxxx/master
Update zh_CN.ini & Update zh_TW.ini
2022-10-21 15:54:23 +02:00
Henrik Rydgård f2193814ee PresentationCommon: Use refcounts to simplify shader module management 2022-10-21 14:18:29 +02:00
Henrik Rydgård e1551e67ca Merge pull request #16267 from hrydgard/vulkan-post-init-cmd-fix
Vulkan: Fix frame ordering issue with postprocessing shaders
2022-10-21 13:52:39 +02:00
Henrik Rydgård cafce7365b Vulkan: Fix frame ordering issue with postprocessing shaders
Requested an init command buffer outside the frame, which is dangerous
and caused validation problems with command pool resets.

Would like to assert on insideFrame in GetInitCmd, but we use it from
some init code where it does work correctly. Might clean that up at some
point.
2022-10-21 12:52:21 +02:00
Henrik Rydgård b9b07e0537 Merge pull request #16262 from lvonasek/feature_openxr_cameraconfig
OpenXR - Add an option to adjust camera distance
2022-10-21 09:30:50 +02:00
Henrik Rydgård a830f18054 Merge pull request #16265 from unknownbrackets/lighting-nonormal
GPU: Respect world matrix and reverse flag w/o normals
2022-10-21 09:16:53 +02:00
Unknown W. Brackets d23293ee72 GPU: Respect matrix and reverse flag w/o normals.
See frame dump in #14223, which requires world matrix be applied.
2022-10-20 23:15:25 -07:00
Unknown W. Brackets 6945604492 softgpu: Multiply prev normal by world matrix.
Even when it's not in the vertex data, we still must multiply by the world
matrix.  Fixes some lighting issues in Nayuta no Kiseki.
2022-10-20 23:14:54 -07:00
Unknown W. Brackets d6a59be012 softgpu: Respect negate normal flag without norm.
Per tests, Z is still negated even when using the previous normal value.
2022-10-20 23:09:48 -07:00
leoxxx ad06868a13 Update zh_TW.ini
#15694
Translate "artifacts" to a straightaway meaning. 
Change 2 words to TC.
2022-10-21 10:21:48 +08:00
leoxxx e048c5ded8 Update zh_CN.ini
https://github.com/hrydgard/ppsspp/pull/15694
Translate "artifacts" to a straightaway meaning.
2022-10-21 10:15:17 +08:00
Lubos 2fd6438c0e OpenXR - Camera distance adjust added 2022-10-20 21:23:27 +02:00
Lubos 77f8f2f1f7 OpenXR - Rearrange VR settings 2022-10-20 21:04:56 +02:00
Henrik Rydgård 5594db1efb Merge pull request #16260 from xujibbs/patch-42
Update zh_CN.ini
2022-10-20 15:44:48 +02:00
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
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
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