Skip to content

Commit

Permalink
Merge pull request #11787 from unknownbrackets/range-cull
Browse files Browse the repository at this point in the history
GLES: Disable range culling on VideoCore/Vivante
  • Loading branch information
hrydgard authored Feb 10, 2019
2 parents 3b7e0a7 + 957c3d5 commit 7e93980
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ext/native/thin3d/thin3d_gl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
}

Expand Down

0 comments on commit 7e93980

Please sign in to comment.