The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

comp/util: Allow enabling timeline semaphores when creating bundle.

authored by

Ryan Pavlik and committed by
Jakob Bornecrantz
46d095d9 0b11ce3a

+4
+1
src/xrt/compositor/util/comp_vulkan.c
··· 161 161 struct vk_device_features device_features = { 162 162 .shader_storage_image_write_without_format = true, 163 163 .null_descriptor = only_compute_queue, 164 + .timeline_semaphore = vk_args->timeline_semaphore, 164 165 }; 165 166 166 167 // No other way then to try to see if realtime is available.
+3
src/xrt/compositor/util/comp_vulkan.h
··· 51 51 //! Should we look for a queue with no graphics, only compute. 52 52 bool only_compute_queue; 53 53 54 + //! Should we try to enable timeline semaphores if available 55 + bool timeline_semaphore; 56 + 54 57 //! Vulkan physical device to be selected, -1 for auto. 55 58 int selected_gpu_index; 56 59