GLES: Move some vendor bug checks to Draw.

This commit is contained in:
Unknown W. Brackets committed 2018-12-23 20:27:22 -08:00
1 parent 9a3de5cb1c
commit adeca2c3ba
15 files changed
+32 -21

No files matched your search

+12
View File
@@ -568,6 +568,18 @@ OpenGLContext::OpenGLContext() {
}
}
}
// TODO: Make this check more lenient. Disabled for all right now
// because it murders performance on Mali.
if (caps_.vendor != GPUVendor::VENDOR_NVIDIA) {
bugs_.Infest(Bugs::ANY_MAP_BUFFER_RANGE_SLOW);
}
if (caps_.vendor == GPUVendor::VENDOR_IMGTEC) {
// See https://github.com/hrydgard/ppsspp/commit/8974cd675e538f4445955e3eac572a9347d84232
// TODO: Should this workaround be removed for newer devices/drivers?
bugs_.Infest(Bugs::PVR_GENMIPMAP_HEIGHT_GREATER);
}
}
OpenGLContext::~OpenGLContext() {