From ec4565263d29346df56fba3269b5dae4eef1945a Mon Sep 17 00:00:00 2001 From: kd-11 Date: Mon, 26 Jun 2023 23:22:42 +0300 Subject: [PATCH] Dump extensions info to the log --- rpcs3/Emu/RSX/VK/vkutils/device.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rpcs3/Emu/RSX/VK/vkutils/device.cpp b/rpcs3/Emu/RSX/VK/vkutils/device.cpp index fbd693c72f..729e3f73b6 100644 --- a/rpcs3/Emu/RSX/VK/vkutils/device.cpp +++ b/rpcs3/Emu/RSX/VK/vkutils/device.cpp @@ -687,6 +687,13 @@ namespace vk CHECK_RESULT_EX(vkCreateDevice(*pgpu, &device, nullptr, &dev), message_on_error); + // Dump some diagnostics to the log + rsx_log.notice("%u extensions loaded:", ::size32(requested_extensions)); + for (const auto& ext : requested_extensions) + { + rsx_log.always()("** Using %s", ext); + } + // Initialize queues vkGetDeviceQueue(dev, graphics_queue_idx, 0, &m_graphics_queue); vkGetDeviceQueue(dev, transfer_queue_idx, transfer_queue_sub_index, &m_transfer_queue);