Skip to content

Commit

Permalink
GLES: Disable range culling on VideoCore/Vivante.
Browse files Browse the repository at this point in the history
Was only disabled before on Vivante GL3/GLES3 devices.
  • Loading branch information
unknownbrackets committed Feb 10, 2019
1 parent 23dd47a commit 957c3d5
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 957c3d5

Please sign in to comment.