Commit 4193e212 by Jonah Ryan-Davis Committed by Commit Bot

Clean up dontUseLoopsToInitializeVariables condition

This workaround is ported from chrome's dont_use_loops_to_initialize_variables workaround, which is enabled on Qualcomm Adreno devices. Better to check for Qualcomm than !NVIDIA Bug: 784817 Change-Id: I2f8314ca97aeca7fdcea60ef9d2fb9e64f075a32 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1924625Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Jonah Ryan-Davis <jonahr@google.com>
parent efb45eda
......@@ -1547,7 +1547,7 @@ void InitializeFeatures(const FunctionsGL *functions, angle::FeaturesGL *feature
// Ported from gpu_driver_bug_list.json (#246, #258)
ANGLE_FEATURE_CONDITION(features, dontUseLoopsToInitializeVariables,
(IsAndroid() && !isNvidia) || (isIntel && IsApple()));
(IsAndroid() && isQualcomm) || (isIntel && IsApple()));
ANGLE_FEATURE_CONDITION(features, disableBlendFuncExtended, isAMD || isIntel);
......
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