GSdx-gui: Set ini option to 0 for sparse texture since the feature is not yet implemented,

also add tooltip for the gui option.
This commit is contained in:
lightningterror 2019-02-07 17:10:46 +01:00
parent a9e622357a
commit b5f0959e6d
5 changed files with 7 additions and 1 deletions

View File

@ -407,7 +407,7 @@ void GSdxApp::Init()
m_default_configuration["override_GL_ARB_multi_bind"] = "-1"; 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_image_load_store"] = "-1";
m_default_configuration["override_GL_ARB_shader_storage_buffer_object"] = "-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_sparse_texture2"] = "-1";
m_default_configuration["override_GL_ARB_texture_view"] = "-1"; m_default_configuration["override_GL_ARB_texture_view"] = "-1";
m_default_configuration["override_GL_ARB_vertex_attrib_binding"] = "-1"; m_default_configuration["override_GL_ARB_vertex_attrib_binding"] = "-1";

View File

@ -325,6 +325,7 @@ void populate_gl_table(GtkWidget* gl_table)
AddTooltip(gl_gs_label, gl_gs_combo, IDC_GEOMETRY_SHADER_OVERRIDE); AddTooltip(gl_gs_label, gl_gs_combo, IDC_GEOMETRY_SHADER_OVERRIDE);
AddTooltip(gl_ils_label, gl_ils_combo, IDC_IMAGE_LOAD_STORE); 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; s_table_line = 0;
InsertWidgetInTable(gl_table , gl_gs_label , gl_gs_combo); InsertWidgetInTable(gl_table , gl_gs_label , gl_gs_combo);

View File

@ -173,6 +173,9 @@ const char* dialog_message(int ID, bool* updateText) {
return "Allows advanced atomic operations to speed up Accurate Date.\n" return "Allows advanced atomic operations to speed up Accurate Date.\n"
"Only disable this if using Accurate Date causes (GPU driver) issues.\n\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."; "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_EDIT:
case IDC_OSD_MAX_LOG: 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" return "Sets the maximum number of log messages on the screen or in the buffer at the same time.\n\n"

View File

@ -84,6 +84,7 @@ enum {
IDC_MERGE_PP_SPRITE, IDC_MERGE_PP_SPRITE,
IDC_GEOMETRY_SHADER_OVERRIDE, IDC_GEOMETRY_SHADER_OVERRIDE,
IDC_IMAGE_LOAD_STORE, IDC_IMAGE_LOAD_STORE,
IDC_SPARSE_TEXTURE,
IDC_OSD_LOG, IDC_OSD_LOG,
IDC_OSD_MONITOR, IDC_OSD_MONITOR,
IDC_OSD_MAX_LOG, IDC_OSD_MAX_LOG,

View File

@ -698,6 +698,7 @@ void GSHacksDlg::OnInit()
AddTooltip(IDC_MERGE_PP_SPRITE); AddTooltip(IDC_MERGE_PP_SPRITE);
AddTooltip(IDC_GEOMETRY_SHADER_OVERRIDE); AddTooltip(IDC_GEOMETRY_SHADER_OVERRIDE);
AddTooltip(IDC_IMAGE_LOAD_STORE); AddTooltip(IDC_IMAGE_LOAD_STORE);
AddTooltip(IDC_SPARSE_TEXTURE);
UpdateControls(); UpdateControls();
} }