Permalink
Browse files

Merge pull request #11787 from unknownbrackets/range-cull

GLES: Disable range culling on VideoCore/Vivante
  • Loading branch information...
hrydgard committed Feb 10, 2019
2 parents 3b7e0a7 + 957c3d5 commit 7e939802b53c1c44af76ff220c5e8a0bc237d1ac
Showing with 4 additions and 1 deletion.
  1. +4 −1 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);
}

0 comments on commit 7e93980

Please sign in to comment.