Commit Graph

2903 Commits

Author SHA1 Message Date
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
Lubos
c6b83dd9d8 OpenXR - Enable camera movement and stereo in flatscreen mode 2022-11-03 20:00:30 +01:00
Lubos
823bfae5ea Memory initialization fixed 2022-10-31 15:00:09 +01:00
Lubos
3c87e71177 OpenXR - Let users set the movement length 2022-10-31 13:19:06 +01:00
Lubos
0101c464a5 OpenXR - Option to disable controller mapping 2022-10-31 12:17:30 +01:00
Lubos
b740bfbcfb OpenXR - Map controller motions on keys 2022-10-31 11:59:07 +01:00
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