From 957c3d5b899d5a775fb2da1f1f5bd7bcf2881dc7 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 10 Feb 2019 11:36:23 -0800 Subject: [PATCH] GLES: Disable range culling on VideoCore/Vivante. Was only disabled before on Vivante GL3/GLES3 devices. --- ext/native/thin3d/thin3d_gl.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ext/native/thin3d/thin3d_gl.cpp b/ext/native/thin3d/thin3d_gl.cpp index 872c169aff78..a94b318bbb55 100644 --- a/ext/native/thin3d/thin3d_gl.cpp +++ b/ext/native/thin3d/thin3d_gl.cpp @@ -560,6 +560,7 @@ OpenGLContext::OpenGLContext() { // Don't use this extension on sub 3.0 OpenGL versions as it does not seem reliable. bugs_.Infest(Bugs::DUAL_SOURCE_BLENDING_BROKEN); } else if (caps_.vendor == GPUVendor::VENDOR_INTEL) { + // Note: this is for Intel drivers with GL3+. // Also on Intel, see https://github.com/hrydgard/ppsspp/issues/10117 // TODO: Remove entirely sometime reasonably far in driver years after 2015. const std::string ver = GetInfoString(Draw::InfoField::APIVERSION); @@ -569,7 +570,9 @@ OpenGLContext::OpenGLContext() { bugs_.Infest(Bugs::DUAL_SOURCE_BLENDING_BROKEN); } } - } else if (caps_.vendor == GPUVendor::VENDOR_VIVANTE) { + } + + if (caps_.vendor == GPUVendor::VENDOR_VIVANTE || caps_.vendor == GPUVendor::VENDOR_BROADCOM) { bugs_.Infest(Bugs::BROKEN_NAN_IN_CONDITIONAL); }