Commit Graph
2930 Commits
Author SHA1 Message Date
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
Henrik Rydgård 4d81506046 Upgrade gradle, specify NDK version in android/build.gradle
Also fix a warning.
2022-11-06 09:44:06 +01:00
Unknown W. Brackets 15fdb54a59 Merge pull request #16337 from hrydgard/renderpass-type-bitfield
Vulkan: Switch RenderPassType to be a "proper" bitfield enum.
2022-11-05 16:28:48 -07:00
Henrik Rydgård 439b38f705 Comment fixes (feedback) 2022-11-06 00:11:04 +01:00
Henrik Rydgård 675a046759 Fix parsing ampersands in server listings for streaming
Fixes #16263 , or so I hope - haven't actually tested it, but seems
straightforward enough.
2022-11-05 23:31:30 +01:00
Henrik Rydgård 7742fbdeb6 Switch RenderPassType to be a "proper" bitfield enum. 2022-11-05 22:06:53 +01:00
Henrik Rydgård 10c6232b9b Merge pull request #16310 from lvonasek/feature_openxr_motion
OpenXR - Map controller gestures
2022-11-05 18:18:57 +01:00
Lubos a52afe9fd8 Merge branch 'master' into cleanup_openxr_core 2022-11-05 10:51:29 +01:00
Lubos 14abd91861 Merge branch 'master' into feature_openxr_motion 2022-11-05 10:49:11 +01:00
Lubos 22980c8b9f Code formatting fixed 2022-11-05 10:16:24 +01:00
Lubos aacbe4f4a3 OpenXR - Get platform flags in runtime 2022-11-04 14:53:07 +01:00
Lubos aafa17fa73 OpenXR - Introduce platform flags 2022-11-04 14:22:42 +01:00
Lubos f8d29e0d19 OpenXR - Fix ifdef ANDROID 2022-11-04 13:52:32 +01:00
Lubos 1d452a2e01 OpenXR - Add an option to disable 72Hz update 2022-11-03 21:33:46 +01:00