fix(client): disable vk_debug_ext_allowed on vive focus 3
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user