summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/yuzu/main.cpp12
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2.cpp14
2 files changed, 24 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 16a95bb19..3c2726498 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -338,6 +338,18 @@ bool GMainWindow::SupportsRequiredGLExtensions() {
338 unsupported_ext.append("ARB_separate_shader_objects"); 338 unsupported_ext.append("ARB_separate_shader_objects");
339 if (!GLAD_GL_ARB_vertex_attrib_binding) 339 if (!GLAD_GL_ARB_vertex_attrib_binding)
340 unsupported_ext.append("ARB_vertex_attrib_binding"); 340 unsupported_ext.append("ARB_vertex_attrib_binding");
341 if (!GLAD_GL_ARB_vertex_type_10f_11f_11f_rev)
342 unsupported_ext.append("ARB_vertex_type_10f_11f_11f_rev");
343
344 // Extensions required to support some texture formats.
345 if (!GLAD_GL_EXT_texture_compression_s3tc)
346 unsupported_ext.append("EXT_texture_compression_s3tc");
347 if (!GLAD_GL_ARB_texture_compression_rgtc)
348 unsupported_ext.append("ARB_texture_compression_rgtc");
349 if (!GLAD_GL_ARB_texture_compression_bptc)
350 unsupported_ext.append("ARB_texture_compression_bptc");
351 if (!GLAD_GL_ARB_depth_buffer_float)
352 unsupported_ext.append("ARB_depth_buffer_float");
341 353
342 for (const QString& ext : unsupported_ext) 354 for (const QString& ext : unsupported_ext)
343 LOG_CRITICAL(Frontend, "Unsupported GL extension: {}", ext.toStdString()); 355 LOG_CRITICAL(Frontend, "Unsupported GL extension: {}", ext.toStdString());
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
index ec73f08bd..72ba7d49c 100644
--- a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
@@ -85,10 +85,20 @@ bool EmuWindow_SDL2::SupportsRequiredGLExtensions() {
85 unsupported_ext.push_back("ARB_program_interface_query"); 85 unsupported_ext.push_back("ARB_program_interface_query");
86 if (!GLAD_GL_ARB_separate_shader_objects) 86 if (!GLAD_GL_ARB_separate_shader_objects)
87 unsupported_ext.push_back("ARB_separate_shader_objects"); 87 unsupported_ext.push_back("ARB_separate_shader_objects");
88 if (!GLAD_GL_ARB_shader_storage_buffer_object)
89 unsupported_ext.push_back("ARB_shader_storage_buffer_object");
90 if (!GLAD_GL_ARB_vertex_attrib_binding) 88 if (!GLAD_GL_ARB_vertex_attrib_binding)
91 unsupported_ext.push_back("ARB_vertex_attrib_binding"); 89 unsupported_ext.push_back("ARB_vertex_attrib_binding");
90 if (!GLAD_GL_ARB_vertex_type_10f_11f_11f_rev)
91 unsupported_ext.push_back("ARB_vertex_type_10f_11f_11f_rev");
92
93 // Extensions required to support some texture formats.
94 if (!GLAD_GL_EXT_texture_compression_s3tc)
95 unsupported_ext.push_back("EXT_texture_compression_s3tc");
96 if (!GLAD_GL_ARB_texture_compression_rgtc)
97 unsupported_ext.push_back("ARB_texture_compression_rgtc");
98 if (!GLAD_GL_ARB_texture_compression_bptc)
99 unsupported_ext.push_back("ARB_texture_compression_bptc");
100 if (!GLAD_GL_ARB_depth_buffer_float)
101 unsupported_ext.push_back("ARB_depth_buffer_float");
92 102
93 for (const std::string& ext : unsupported_ext) 103 for (const std::string& ext : unsupported_ext)
94 LOG_CRITICAL(Frontend, "Unsupported GL extension: {}", ext); 104 LOG_CRITICAL(Frontend, "Unsupported GL extension: {}", ext);