diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-22 20:47:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-22 20:47:07 +0200 |
commit | c994cdc5325ca4539efd0f277960a8083ae344b9 (patch) | |
tree | 0567163d46b763ca3b35d052fa3dcc4bdf7a1042 | |
parent | Merge pull request #768 from lioncash/string-view (diff) | |
parent | Frontend: Check for more required OpenGL extensions during startup. (diff) | |
download | yuzu-c994cdc5325ca4539efd0f277960a8083ae344b9.tar yuzu-c994cdc5325ca4539efd0f277960a8083ae344b9.tar.gz yuzu-c994cdc5325ca4539efd0f277960a8083ae344b9.tar.bz2 yuzu-c994cdc5325ca4539efd0f277960a8083ae344b9.tar.lz yuzu-c994cdc5325ca4539efd0f277960a8083ae344b9.tar.xz yuzu-c994cdc5325ca4539efd0f277960a8083ae344b9.tar.zst yuzu-c994cdc5325ca4539efd0f277960a8083ae344b9.zip |
-rw-r--r-- | src/yuzu/main.cpp | 12 | ||||
-rw-r--r-- | src/yuzu_cmd/emu_window/emu_window_sdl2.cpp | 14 |
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() { unsupported_ext.append("ARB_separate_shader_objects"); if (!GLAD_GL_ARB_vertex_attrib_binding) unsupported_ext.append("ARB_vertex_attrib_binding"); + if (!GLAD_GL_ARB_vertex_type_10f_11f_11f_rev) + unsupported_ext.append("ARB_vertex_type_10f_11f_11f_rev"); + + // Extensions required to support some texture formats. + if (!GLAD_GL_EXT_texture_compression_s3tc) + unsupported_ext.append("EXT_texture_compression_s3tc"); + if (!GLAD_GL_ARB_texture_compression_rgtc) + unsupported_ext.append("ARB_texture_compression_rgtc"); + if (!GLAD_GL_ARB_texture_compression_bptc) + unsupported_ext.append("ARB_texture_compression_bptc"); + if (!GLAD_GL_ARB_depth_buffer_float) + unsupported_ext.append("ARB_depth_buffer_float"); for (const QString& ext : unsupported_ext) 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() { unsupported_ext.push_back("ARB_program_interface_query"); if (!GLAD_GL_ARB_separate_shader_objects) unsupported_ext.push_back("ARB_separate_shader_objects"); - if (!GLAD_GL_ARB_shader_storage_buffer_object) - unsupported_ext.push_back("ARB_shader_storage_buffer_object"); if (!GLAD_GL_ARB_vertex_attrib_binding) unsupported_ext.push_back("ARB_vertex_attrib_binding"); + if (!GLAD_GL_ARB_vertex_type_10f_11f_11f_rev) + unsupported_ext.push_back("ARB_vertex_type_10f_11f_11f_rev"); + + // Extensions required to support some texture formats. + if (!GLAD_GL_EXT_texture_compression_s3tc) + unsupported_ext.push_back("EXT_texture_compression_s3tc"); + if (!GLAD_GL_ARB_texture_compression_rgtc) + unsupported_ext.push_back("ARB_texture_compression_rgtc"); + if (!GLAD_GL_ARB_texture_compression_bptc) + unsupported_ext.push_back("ARB_texture_compression_bptc"); + if (!GLAD_GL_ARB_depth_buffer_float) + unsupported_ext.push_back("ARB_depth_buffer_float"); for (const std::string& ext : unsupported_ext) LOG_CRITICAL(Frontend, "Unsupported GL extension: {}", ext); |