Show Pipeline Compilation option (#312)

* Show Compiling Shaders option. Off by default.

* Addressed encounter comments

---------

Co-authored-by: MelonSpeedruns <melonspeedruns@stratobox.net>
This commit is contained in:
MelonSpeedruns
2026-04-10 17:53:28 -04:00
committed by GitHub
parent 50450d8e6f
commit b255be9b2a
4 changed files with 7 additions and 3 deletions
+1
View File
@@ -75,6 +75,7 @@ struct UserSettings {
ConfigVar<std::string> isoPath;
ConfigVar<std::string> graphicsBackend;
ConfigVar<bool> skipPreLaunchUI;
ConfigVar<bool> showPipelineCompilation;
} backend;
};
+1 -1
View File
@@ -411,7 +411,7 @@ namespace dusk {
void ImGuiConsole::ShowPipelineProgress() {
const auto* stats = aurora_get_stats();
const u32 queuedPipelines = stats->queuedPipelines;
if (queuedPipelines == 0) {
if (queuedPipelines == 0 || !getSettings().backend.showPipelineCompilation) {
return;
}
const u32 createdPipelines = stats->createdPipelines;
+2 -1
View File
@@ -103,8 +103,9 @@ namespace dusk {
ImGui::EndMenu();
}
if (ImGui::BeginMenu("Misc")) {
if (ImGui::BeginMenu("Interface")) {
config::ImGuiCheckbox("Skip Pre-Launch UI", getSettings().backend.skipPreLaunchUI);
config::ImGuiCheckbox("Show Pipeline Compilation", getSettings().backend.showPipelineCompilation);
ImGui::EndMenu();
}
+3 -1
View File
@@ -62,7 +62,8 @@ UserSettings g_userSettings = {
.backend = {
.isoPath {"backend.isoPath", ""},
.graphicsBackend {"backend.graphicsBackend", "auto"},
.skipPreLaunchUI {"backend.skipPreLaunchUI", false}
.skipPreLaunchUI {"backend.skipPreLaunchUI", false},
.showPipelineCompilation{"backend.showPipelineCompilation", false}
}
};
@@ -113,6 +114,7 @@ void registerSettings() {
Register(g_userSettings.backend.isoPath);
Register(g_userSettings.backend.graphicsBackend);
Register(g_userSettings.backend.skipPreLaunchUI);
Register(g_userSettings.backend.showPipelineCompilation);
}
// Transient settings