Permalink
Browse files

GSdx-gui: Set ini option to 0 for sparse texture since the feature is…

… not yet implemented,

also add tooltip for the gui option.
  • Loading branch information...
lightningterror committed Feb 7, 2019
1 parent a9e6223 commit b5f0959e6daa5ad643eb00110c7df7a794653c01
@@ -407,7 +407,7 @@ void GSdxApp::Init()
m_default_configuration["override_GL_ARB_multi_bind"] = "-1";
m_default_configuration["override_GL_ARB_shader_image_load_store"] = "-1";
m_default_configuration["override_GL_ARB_shader_storage_buffer_object"] = "-1";
m_default_configuration["override_GL_ARB_sparse_texture"] = "-1";
m_default_configuration["override_GL_ARB_sparse_texture"] = "0";
m_default_configuration["override_GL_ARB_sparse_texture2"] = "-1";
m_default_configuration["override_GL_ARB_texture_view"] = "-1";
m_default_configuration["override_GL_ARB_vertex_attrib_binding"] = "-1";
@@ -325,6 +325,7 @@ void populate_gl_table(GtkWidget* gl_table)

AddTooltip(gl_gs_label, gl_gs_combo, IDC_GEOMETRY_SHADER_OVERRIDE);
AddTooltip(gl_ils_label, gl_ils_combo, IDC_IMAGE_LOAD_STORE);
AddTooltip(gl_sps_label, gl_sps_combo, IDC_SPARSE_TEXTURE);

s_table_line = 0;
InsertWidgetInTable(gl_table , gl_gs_label , gl_gs_combo);
@@ -173,6 +173,9 @@ const char* dialog_message(int ID, bool* updateText) {
return "Allows advanced atomic operations to speed up Accurate Date.\n"
"Only disable this if using Accurate Date causes (GPU driver) issues.\n\n"
"Note: This option is only supported by GPUs which support at least Direct3D 11.";
case IDC_SPARSE_TEXTURE:
return "Allows to reduce memory usage on the GPU.\n\n"
"Note: Feature is not yet implemented so Force Disable by default.";
case IDC_OSD_MAX_LOG_EDIT:
case IDC_OSD_MAX_LOG:
return "Sets the maximum number of log messages on the screen or in the buffer at the same time.\n\n"
@@ -84,6 +84,7 @@ enum {
IDC_MERGE_PP_SPRITE,
IDC_GEOMETRY_SHADER_OVERRIDE,
IDC_IMAGE_LOAD_STORE,
IDC_SPARSE_TEXTURE,
IDC_OSD_LOG,
IDC_OSD_MONITOR,
IDC_OSD_MAX_LOG,
@@ -698,6 +698,7 @@ void GSHacksDlg::OnInit()
AddTooltip(IDC_MERGE_PP_SPRITE);
AddTooltip(IDC_GEOMETRY_SHADER_OVERRIDE);
AddTooltip(IDC_IMAGE_LOAD_STORE);
AddTooltip(IDC_SPARSE_TEXTURE);

UpdateControls();
}

0 comments on commit b5f0959

Please sign in to comment.