···1111#include "util/u_misc.h"
1212#include "util/u_handles.h"
1313#include "util/u_trace_marker.h"
1414+#include "util/u_debug.h"
14151516#include "comp_vk_client.h"
16171718//! We are not allowed to touch the queue in xrDestroySwapchain
1819#define BREAK_OPENXR_SPEC_IN_DESTROY_SWAPCHAIN (true)
19202121+// Prefixed with OXR since the only user right now is the OpenXR state tracker.
2222+DEBUG_GET_ONCE_LOG_OPTION(vulkan_log, "OXR_VULKAN_LOG", U_LOGGING_INFO)
20232124/*!
2225 * Down-cast helper.
···799802 c->base.base.info.format_count = xcn->base.info.format_count;
800803801804 // Default to info.
802802- enum u_logging_level log_level = U_LOGGING_INFO;
805805+ enum u_logging_level log_level = debug_get_log_option_vulkan_log();
803806804807 ret = vk_init_from_given( //
805808 &c->vk, // vk_bundle