Add developer setting to prevent loading overlays (and other 'implicit' Vulkan layers)

This commit is contained in:
Henrik Rydgård
2025-04-10 18:56:05 +02:00
parent 670ff21529
commit 67dfbfe97e
53 changed files with 80 additions and 6 deletions
+3
View File
@@ -321,6 +321,9 @@ void DeveloperToolsScreen::CreateGraphicsTab(UI::LinearLayout *list) {
Draw::DrawContext *draw = screenManager()->getDrawContext();
list->Add(new ItemHeader(dev->T("Vulkan")));
list->Add(new CheckBox(&g_Config.bVulkanDisableImplicitLayers, dev->T("Prevent loading overlays")));
list->Add(new ItemHeader(dev->T("Ubershaders")));
if (draw->GetShaderLanguageDesc().bitwiseOps && !draw->GetBugs().Has(Draw::Bugs::UNIFORM_INDEXING_BROKEN)) {
// If the above if fails, the checkbox is redundant since it'll be force disabled anyway.