From db17baba1b24b53301bfa40f61d75dfd7a066c08 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 7 Mar 2021 17:34:27 +1000 Subject: [PATCH] GL/Context: Disable GLES3.2 on PowerVR Rogue It's choking on our shaders, maybe it's the I/O blocks or texture buffers? --- src/common/gl/context.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/common/gl/context.cpp b/src/common/gl/context.cpp index 566148511..12b479b5f 100644 --- a/src/common/gl/context.cpp +++ b/src/common/gl/context.cpp @@ -64,6 +64,12 @@ static void DisableBrokenExtensions(const char* gl_vendor, const char* gl_render GLAD_GL_EXT_copy_image = 0; GLAD_GL_OES_copy_image = 0; } + + if (std::strstr(gl_renderer, "PowerVR Rogue")) + { + Log_VerbosePrintf("PowerVR Rogue driver detected, disabling GLES3.2"); + GLAD_GL_ES_VERSION_3_2 = 0; + } } Context::Context(const WindowInfo& wi) : m_wi(wi) {}