зеркало из https://github.com/AvaloniaUI/angle.git
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/+/1924625 Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Jonah Ryan-Davis <jonahr@google.com>
This commit is contained in:
Родитель
efb45edaef
Коммит
4193e212db
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче