Permalink
Browse files

GLES: Disable range culling on VideoCore/Vivante.

Was only disabled before on Vivante GL3/GLES3 devices.
  • Loading branch information...
unknownbrackets committed Feb 10, 2019
1 parent 23dd47a commit 957c3d5b899d5a775fb2da1f1f5bd7bcf2881dc7
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 957c3d5

Please sign in to comment.