Commit Graph

2943 Commits

Author SHA1 Message Date
Lubos
ddad6b3760 OpenXR - Support axis 2022-11-17 10:52:12 +01:00
Lubos
0ae1d75daf OpenXR - Support camera adjust using joystick 2022-11-17 10:22:01 +01:00
Unknown W. Brackets
4a367148e6 GPU: Centralize more GPU_USE flags, like depth. 2022-11-13 08:04:47 -08:00
Henrik Rydgård
1ae6047da9
Merge pull request #16379 from unknownbrackets/stencil-android
Fix alpha/stencil replace on Adreno when color masked
2022-11-13 10:12:39 +01:00
Unknown W. Brackets
3f875af2d7 Vulkan: Mark Adreno bug resolved on recent driver.
Playing it safe for 5xx devices and assuming they are still affected.
2022-11-12 17:41:48 -08:00
Unknown W. Brackets
c20bcc1f08 UI: Avoid enum/float comparisons. 2022-11-12 12:30:04 -08:00
Unknown W. Brackets
294d028dbf VR: Remove unnecessary deprecated header. 2022-11-12 12:30:04 -08:00
Unknown W. Brackets
3e5d77ab46 SaveState: Switch from deprecated is_pod. 2022-11-12 12:30:04 -08:00
Lubos
97d63a321c OpenXR - Test mirroring over 30 various games 2022-11-10 21:30:15 +01:00
Lubos
d32b6ceff0 OpenXR - Get all mirroring variants 2022-11-10 20:45:34 +01:00
Lubos
307acaa9b7 OpenXR - View matrix identity check breaking several games fixed 2022-11-09 19:25:08 +01:00
Lubos
b980f55645 OpenXR - Don't get mirroring from identity matrix 2022-11-09 19:07:45 +01:00
Lubos
8716021244 OpenXR - Do not apply head rotation on identity matrix 2022-11-09 17:59:14 +01:00
Unknown W. Brackets
305aae3e50
Merge pull request #16363 from hrydgard/android-shader-assert
OpenGL ES: Bail as early as possible if things are bad
2022-11-08 06:01:41 -08:00
Henrik Rydgård
87bd7aaccc
Merge pull request #16356 from lvonasek/cleanup_camera_control
OpenXR - Camera adjust using any controller
2022-11-08 12:28:44 +01:00
Henrik Rydgård
dd0409d68c OpenGL ES: Crash as early as possible if things are bad
There's a huge variety of crash report in the Play Console of various
opengl failures. Try to concentrate them to early points in
initialization
2022-11-08 10:43:38 +01:00
Henrik Rydgård
ecd62e7eb2 Lift length limit on Android logging 2022-11-08 00:21:37 +01:00
Henrik Rydgård
4d637342f7 Log source code for failed pipeline creations 2022-11-08 00:21:08 +01:00
Henrik Rydgård
90f67e91f5 Avoid drawing with failed-to-create pipelines 2022-11-08 00:21:08 +01:00
Henrik Rydgård
25547b5fe2 Make Mailbox handle null values. Fixes hang. 2022-11-08 00:21:08 +01:00
Henrik Rydgård
bd40ccda51 Improve VkResult logging 2022-11-08 00:21:07 +01:00
Henrik Rydgård
7b09fc43b0 Warning fix in VR code 2022-11-08 00:21:07 +01:00
Lubos
eec414d331 OpenXR - Allow more extreme camera adjusts 2022-11-07 21:40:25 +01:00
Lubos
47f2afcd55 Merge branch 'master' into cleanup_camera_control 2022-11-07 18:23:07 +01:00
Henrik Rydgård
7beff4da96
Merge pull request #16350 from lvonasek/refactor_openxr_matrices
OpenXR - Refactor
2022-11-07 18:18:55 +01:00
Henrik Rydgård
e7b6fcd513 Properly buildfix GL/VR again 2022-11-07 17:36:46 +01:00
Henrik Rydgård
81dd95e16d Fix sky plane fix (broke in my last VR refactor) 2022-11-07 17:13:14 +01:00
Lubos
cd49dc6627 OpenXR - Camera adjustment using PSP keys 2022-11-07 17:13:08 +01:00
Lubos
90d117ce71 OpenXR - Keep status of PSP keys 2022-11-07 16:46:10 +01:00
Lubos
73ccff9ba0 Restore assert 2022-11-07 16:28:41 +01:00
Henrik Rydgård
c7db9a865d Disable remaining false positive. 2022-11-07 09:51:11 +01:00
Henrik Rydgård
668904a515 Vulkan: Use the very same view as input attachment and color attachment, not just the same image
Fixes most of the new validation errors seen #16351, though one remains.

I believe that to be a bug in the validation layers, will investigate
later.
2022-11-07 09:14:55 +01:00
Lubos
e96b9b4649 Remove unnecessary assert 2022-11-06 22:38:15 +01:00
Lubos
c58359a3b3 OpenXR - Move configs out of VRRenderer 2022-11-06 22:30:35 +01:00
Lubos
460386e344 OpenXR - Move matrix calculation out of VRRenderer 2022-11-06 22:06:27 +01:00
Lubos
cd54873edb OpenXR - Simplify projection matrix creation 2022-11-06 21:48:55 +01:00
Lubos
520b92aa94 OpenXR - Matrix indexing fixed 2022-11-06 21:45:47 +01:00
Lubos
5c9e6968a5 OpenXR - Get rid of separate projection matrices 2022-11-06 21:21:13 +01:00
Lubos
637bb57bc6 OpenXR - Get rid of ovrMatrix4f structure 2022-11-06 20:42:28 +01:00
Henrik Rydgård
09c0ebd3ca Windows ARM/ARM64 buildfix 2022-11-06 17:40:41 +01:00
Henrik Rydgård
44106ff2e7 Linking fix for normal Android devices 2022-11-06 15:58:07 +01:00
Henrik Rydgård
162290147f UWP build fix. Had to reshuffle some stuff and compile some Vulkan files. 2022-11-06 15:54:00 +01:00
Henrik Rydgård
0ef39d11d8 Add a dynamic loader for OpenXR so the VR code can link. Make it all build on Windows. 2022-11-06 15:37:58 +01:00
Henrik Rydgård
c44afcf462 Typo fix 2022-11-06 14:37:56 +01:00
Henrik Rydgård
b4507cd5cc Make a lot more code VR build for all platforms 2022-11-06 14:36:51 +01:00
Henrik Rydgård
5d3ec6c8ff Fix type of predictedDisplayTime 2022-11-06 14:35:28 +01:00
Henrik Rydgård
8398b779fb 6dof fix 2022-11-06 11:51:28 +01:00
Henrik Rydgård
ef3b0607ef Rename 6DOF_PRECISE to HAS_UNIT_SCALE 2022-11-06 11:39:41 +01:00
Henrik Rydgård
9b619b8c0b Remove ugly float conversion hacks from VR config 2022-11-06 11:37:52 +01:00
Henrik Rydgård
8bb2313f5d Finish previous buildfix... 2022-11-06 11:34:27 +01:00