Commit Graph
2875 Commits
Author SHA1 Message Date
Henrik Rydgård cf27d14131 Merge pull request #16293 from lvonasek/feature_openxr_camera
OpenXR - Modify camera parameters in realtime
2022-10-30 09:14:56 +01:00
Unknown W. Brackets 0cc94ceb15 Draw: Correct ambiguous comparison overload. 2022-10-29 12:52:00 -07:00
Lubos cbf93d586c typo fixed 2022-10-29 21:39:46 +02:00
Lubos 363f102cc5 OpenXR - Add new virtual key for camera adjust 2022-10-29 20:47:29 +02:00
Lubos 92422160a0 OpenXR - Camera side adjust added 2022-10-29 19:31:57 +02:00
Lubos b7da6f7e45 OpenXR - Camera height adjust added 2022-10-29 19:19:25 +02:00
Lubos 48f9c98559 OpenXR - Do not process key actions during camera adjust 2022-10-29 18:50:51 +02:00
Unknown W. Brackets 0bc2bb9efb Vulkan: Log additional queue command. 2022-10-29 09:05:14 -07:00
Henrik Rydgård c6fe91224a Vulkan: Fixes validation errors with "null" textures
These arise in non-buffered rendering when we don't have a framebuffer
to texture from.
2022-10-28 18:40:55 +02:00
Lubos 96f89f4bd7 OpenXR - Allow updating camera in realtime 2022-10-28 15:50:00 +02:00
Lubos f4f7dc570f OpenXR - Make VR camera parameters floating numbers 2022-10-28 14:59:12 +02:00
Henrik Rydgård ab1cebec51 Actually bind a global uniform buffer, too. Not yet used. 2022-10-28 10:15:36 +02:00
Henrik Rydgård 96a5c52037 Vulkan: Reserve descriptor set 0 for frame-global data, move everything else to set 1 2022-10-28 09:39:56 +02:00
Henrik Rydgård 6d9008dab5 Fix validation issue with clears, remove redundant code 2022-10-27 11:05:59 +02:00
Henrik Rydgård 763afd4a8e Improve compatibility checks for stereo rendering. 2022-10-27 11:05:59 +02:00
Henrik Rydgård 31fd928a5c Name more image views. Very useful with a little patch to the Vulkan debug layers. 2022-10-27 11:05:59 +02:00
Henrik Rydgård cd203291ba Fix rendering in non-stereo mode 2022-10-27 11:05:59 +02:00
Henrik Rydgård 15d4495f76 Pass shadergen tests 2022-10-27 11:05:59 +02:00
Henrik Rydgård 2a1526c352 Address feedback 2022-10-27 11:05:59 +02:00
Henrik Rydgård 390a136cb5 Stereo now works through shader depal too 2022-10-27 11:05:59 +02:00
Henrik Rydgård 8413473fa4 Fix more cases, GTA works now. 2022-10-27 11:05:59 +02:00
Henrik Rydgård 524e92374f Use arrays more consistently. 2022-10-27 11:05:59 +02:00
Henrik Rydgård 91259aaad7 Always use array textures for framebuffers in Vulkan for simplicity. 2022-10-27 11:05:58 +02:00
Henrik Rydgård 2bea495981 wip 2022-10-27 11:05:58 +02:00
Henrik Rydgård f1b515caaf Minor shaderwriter refactor 2022-10-27 11:05:58 +02:00
Henrik Rydgård 0de12f5ca9 Some refactoring of framebuffer views, layer issues, more work. 2022-10-27 11:05:58 +02:00
Henrik Rydgård 2e87f0bc0b More work. Things are starting to work now. 2022-10-27 11:05:58 +02:00
Henrik Rydgård c668736924 Add a couple of stereo display shaders, add infrastructure, compile stereo pipelines 2022-10-27 11:05:58 +02:00
Henrik Rydgård 3ce8133656 Non-stereo bugfix 2022-10-27 11:05:58 +02:00
Henrik Rydgård fb250c4b29 More multiview work 2022-10-27 11:05:58 +02:00
Henrik Rydgård d3804ec2e5 Misc multiview hackery 2022-10-27 11:05:58 +02:00
Henrik Rydgård 7a620962aa thin3d: Replace hint at future MRT support with basic multi layer support 2022-10-27 11:05:58 +02:00
Henrik Rydgård 80e1db07a7 Minor ShaderWriter refactor, prep for later changes 2022-10-24 17:45:18 +02:00
Henrik Rydgård 1d8ab38ce5 Vulkan: Use v2 feature checks, and add check for multiview features.
Extracted from the multiview PR, and renamed some stuff.
2022-10-24 00:21:28 +02:00
Henrik Rydgård e77ff0281f Testfix 2022-10-24 00:20:45 +02:00
Henrik Rydgård ecf2797173 Minor refactor of ShaderWriter flags. Extracted from the stereo PR 2022-10-23 21:57:01 +02:00
Unknown W. Brackets 813bfded92 x86jit: Correct vh2f NAN handling (#16275)
* x86jit: Correct vh2f NAN handling.

Allows another test to pass.

* x86jit: Reuse MAccessibleDisp().
2022-10-23 10:09:29 +02:00
Henrik Rydgård 3af86ec6f7 Make it possible to specify extensions for Vulkan in the ShaderWriter 2022-10-22 17:46:57 +02:00
Luboš Vonásek df04280c34 OpenXR - Wrong condition removed (#16271) 2022-10-22 14:45:57 +00: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
Lubos 2fd6438c0e OpenXR - Camera distance adjust added 2022-10-20 21:23:27 +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 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
Lubos fbb1e7eda0 OpenXR - Use only the first projection matrix in frame for mirroing detection 2022-10-18 12:39:42 +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 70488be450 Make as much as possible of the VR code build on all platforms 2022-10-17 20:12:48 +02:00