fix(client): disable vk_debug_ext_allowed on vive focus 3

This commit is contained in:
Jonathan Steffan
2026-09-08 08:02:53 +02:00
committed by xytovl
parent 3c927dd80b
commit 0654a9ab79
2 changed files with 8 additions and 6 deletions
+3 -6
View File
@@ -335,8 +335,9 @@ public:
template <typename T>
static void set_debug_reports_name(const T & object, std::string name)
{
// #ifndef NDEBUG
// if (instance().debug_utils_found)
if (not vk_allocator::instance().has_debug_utils)
return;
const vk::DebugUtilsObjectNameInfoEXT name_info{
.objectType = T::objectType,
.objectHandle = (uint64_t)(typename T::NativeType)object,
@@ -344,10 +345,6 @@ public:
};
instance().vk_device.setDebugUtilsObjectNameEXT(name_info);
// printf("set_debug_reports_name %p, %s\n", object, name.c_str());
// instance().debug_report_object_name[(uint64_t)object] = std::move(name);
// #endif
}
static thread_safe<vk::raii::Queue> & get_queue()
+5
View File
@@ -285,8 +285,13 @@ void hmd_traits::init()
controller_profile = "htc-vive-focus-3";
if (model == "VIVE Focus 3")
{
panel_width_override = 2448;
// Reports VK_EXT_debug_utils but does not expose vkSetDebugUtilsObjectNameEXT
vk_debug_ext_allowed = false;
}
if (model == "VIVE Focus Vision")
panel_width_override = 2448;