update monado
This commit is contained in:
+1
-1
@@ -146,7 +146,7 @@ FetchContent_Declare(implot URL https://github.com/epezent/implot/archive
|
||||
# Server dependencies
|
||||
FetchContent_Declare(monado
|
||||
GIT_REPOSITORY https://gitlab.freedesktop.org/monado/monado
|
||||
GIT_TAG 57e937383967c7e7b38b5de71297c8f537a2489d
|
||||
GIT_TAG ffb71af26f8349952f5f820c268ee4774613e200
|
||||
)
|
||||
|
||||
FetchContent_Declare(imgui
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "wivrn_hmd.h"
|
||||
|
||||
#include <cmath>
|
||||
#include <vulkan/vulkan.h>
|
||||
|
||||
struct wivrn_comp_target_factory : public comp_target_factory
|
||||
{
|
||||
@@ -42,13 +43,17 @@ struct wivrn_comp_target_factory : public comp_target_factory
|
||||
.identifier = "wivrn",
|
||||
.requires_vulkan_for_create = false,
|
||||
.is_deferred = false,
|
||||
.required_instance_extensions = {},
|
||||
.required_instance_extension_count = 0,
|
||||
.required_instance_version = VK_MAKE_VERSION(1, 3, 0),
|
||||
.required_instance_extensions = wivrn_comp_target::wanted_instance_extensions.data(),
|
||||
.required_instance_extension_count = wivrn_comp_target::wanted_instance_extensions.size(),
|
||||
.optional_device_extensions = wivrn_comp_target::wanted_device_extensions.data(),
|
||||
.optional_device_extension_count = wivrn_comp_target::wanted_device_extensions.size(),
|
||||
.detect = wivrn_comp_target_factory::detect,
|
||||
.create_target = wivrn_comp_target_factory::create_target},
|
||||
session(session),
|
||||
fps(fps)
|
||||
{}
|
||||
{
|
||||
}
|
||||
|
||||
static bool detect(const struct comp_target_factory * ctf, struct comp_compositor * c)
|
||||
{
|
||||
|
||||
@@ -31,7 +31,7 @@ wivrn_vk_bundle::wivrn_vk_bundle(vk_bundle & vk, std::span<const char *> request
|
||||
.physicalDevice = vk.physical_device,
|
||||
.device = vk.device,
|
||||
.instance = vk.instance,
|
||||
.vulkanApiVersion = VK_MAKE_VERSION(1, 0, 0), // FIXME: sync with wivrn_session.cpp
|
||||
.vulkanApiVersion = VK_MAKE_VERSION(1, 3, 0), // FIXME: sync with wivrn_session.cpp
|
||||
}),
|
||||
queue(device, vk.queue_family_index, vk.queue_index),
|
||||
queue_family_index(vk.queue_family_index)
|
||||
|
||||
Reference in New Issue
Block a user