diff --git a/src/virtio/vulkan/vn_common.c b/src/virtio/vulkan/vn_common.c index a0190cfff2d..743e3251517 100644 --- a/src/virtio/vulkan/vn_common.c +++ b/src/virtio/vulkan/vn_common.c @@ -61,6 +61,18 @@ vn_env_init(void) { static once_flag once = ONCE_FLAG_INIT; call_once(&once, vn_env_init_once); + + /* log per VkInstance creation */ + if (VN_DEBUG(INIT)) { + vn_log(NULL, + "vn_env is as below:" + "\n\tdebug = 0x%" PRIx64 "" + "\n\tperf = 0x%" PRIx64 "" + "\n\tdraw_cmd_batch_limit = %u" + "\n\trelax_base_sleep_us = %u", + vn_env.debug, vn_env.perf, vn_env.draw_cmd_batch_limit, + vn_env.relax_base_sleep_us); + } } void