Commit fe93fcdd by Jonah Ryan-Davis Committed by Angle LUCI CQ

Workaround Mesa 20 Intel driver bug with GLX_OML_sync_control

Disable the use of this extension on Mesa 20/intel, it's causing GPU hangs. Bug: chromium:1187475 Change-Id: Ic7029b1f72bd0b0f4a2c11a7fceb0a59f51be8aa Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2920811Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Jonah Ryan-Davis <jonahr@google.com>
parent 96ab6566
......@@ -2099,8 +2099,11 @@ void InitializeFeatures(const FunctionsGL *functions, angle::FeaturesGL *feature
ANGLE_FEATURE_CONDITION(features, bindTransformFeedbackBufferBeforeBindBufferRange, IsApple());
// http://crbug.com/1137851
// Speculative fix for now, leave disabled so users can enable it via flags.
ANGLE_FEATURE_CONDITION(features, disableSyncControlSupport, false);
// Speculative fix for above issue, users can enable it via flags.
// http://crbug.com/1187475
// Disable on Mesa 20 / Intel
ANGLE_FEATURE_CONDITION(features, disableSyncControlSupport,
IsLinux() && isIntel && isMesa && mesaVersion[0] == 20);
ANGLE_FEATURE_CONDITION(features, keepBufferShadowCopy, !CanMapBufferForRead(functions));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment