Provide Vulkan version to Monado

This commit is contained in:
Patrick Nicolas
2026-07-30 19:12:06 +02:00
parent 774ca3a19e
commit 333e080d1c
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -715,6 +715,7 @@ compositor::compositor(wivrn_session & session) :
log_level);
vk::detail::resultCheck(vk::Result(res), "vk_init_from_given");
c_base->vk.version = vk_bundle::api_version;
// vk_init_from_given can't enable calibrated timestamps; do it here.
#ifdef VK_EXT_calibrated_timestamps
c_base->vk.has_EXT_calibrated_timestamps = vk.has_device_ext(VK_EXT_CALIBRATED_TIMESTAMPS_EXTENSION_NAME);