GS-wx: Rearrange debug checkboxes in advanced tab graphics settings.

Less confusing and easier to debug.
This commit is contained in:
lightningterror 2022-09-18 22:45:46 +02:00
parent 96b00e95f5
commit aa075bdf6b
1 changed files with 11 additions and 6 deletions

View File

@ -551,14 +551,16 @@ DebugTab::DebugTab(wxWindow* parent)
if (g_Conf->DevMode || IsDevBuild)
{
PaddedBoxSizer<wxStaticBoxSizer> debug_box(wxVERTICAL, this, "Debug");
auto* debug_check_box = new wxWrapSizer(wxHORIZONTAL);
m_ui.addCheckBox(debug_check_box, "Use Blit Swap Chain", "UseBlitSwapChain");
m_ui.addCheckBox(debug_check_box, "Disable Shader Cache", "disable_shader_cache");
m_ui.addCheckBox(debug_check_box, "Disable Framebuffer Fetch", "DisableFramebufferFetch");
auto* debug_check_box = new wxFlexGridSizer(2, space, space);
m_ui.addCheckBox(debug_check_box, "Disable Dual-Source Blending", "DisableDualSourceBlend");
m_ui.addCheckBox(debug_check_box, "Use Debug Device", "UseDebugDevice");
m_ui.addCheckBox(debug_check_box, "Dump GS data", "dump");
m_ui.addCheckBox(debug_check_box, "Disable Framebuffer Fetch", "DisableFramebufferFetch");
m_ui.addCheckBox(debug_check_box, "Disable Hardware Readbacks", "HWDisableReadbacks");
m_ui.addCheckBox(debug_check_box, "Disable Shader Cache", "disable_shader_cache");
m_ui.addCheckBox(debug_check_box, "Use Blit Swap Chain", "UseBlitSwapChain");
m_ui.addCheckBox(debug_check_box, "Use Debug Device", "UseDebugDevice");
auto* debug_save_check_box_main = new wxFlexGridSizer(1, space, space);
m_ui.addCheckBox(debug_save_check_box_main, "Dump GS data", "dump");
auto* debug_save_check_box = new wxWrapSizer(wxHORIZONTAL);
m_ui.addCheckBox(debug_save_check_box, "Save RT", "save");
@ -567,6 +569,9 @@ DebugTab::DebugTab(wxWindow* parent)
m_ui.addCheckBox(debug_save_check_box, "Save Depth", "savez");
debug_box->Add(debug_check_box);
debug_box->AddSpacer(space);
debug_box->Add(debug_save_check_box_main);
debug_box->AddSpacer(space);
debug_box->Add(debug_save_check_box);
auto* dump_grid = new wxFlexGridSizer(2, space, space);