From 87ecb87674e493ecef9e18336ab01a7e13cde612 Mon Sep 17 00:00:00 2001 From: Vinicius Rangel Date: Sat, 12 Oct 2024 21:46:10 -0300 Subject: [PATCH] imgui: skip all textures to avoid hanging with crash diagnostic enabled not sure why this happens :c --- src/imgui/renderer/texture_manager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/imgui/renderer/texture_manager.cpp b/src/imgui/renderer/texture_manager.cpp index ba4a05d01..7f9c69d49 100644 --- a/src/imgui/renderer/texture_manager.cpp +++ b/src/imgui/renderer/texture_manager.cpp @@ -7,6 +7,7 @@ #include #include "common/assert.h" +#include "common/config.h" #include "common/io_file.h" #include "common/polyfill_thread.h" #include "imgui_impl_vulkan.h" @@ -147,6 +148,11 @@ void WorkerLoop() { g_job_list.pop_front(); g_job_list_mtx.unlock(); + if (Config::vkCrashDiagnosticEnabled()) { + // FIXME: Crash diagnostic hangs when building the command buffer here + continue; + } + if (!path.empty()) { // Decode PNG from file Common::FS::IOFile file(path, Common::FS::FileAccessMode::Read); if (!file.IsOpen()) {