зеркало из https://github.com/AvaloniaUI/angle.git
GL: Enable pack skip emulation on all Apple drivers
* conformance2/reading/read-pixels-pack-parameters.html is failing in WebKit on M1 without this workaround Bug: angleproject:4849 Change-Id: I710386d29c120e59338cd56fc9843cd6232ff96c Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3743445 Reviewed-by: Kenneth Russell <kbr@chromium.org> Commit-Queue: Alexey Knyazev <lexa.knyazev@gmail.com>
This commit is contained in:
Родитель
a1f8049abb
Коммит
94bbb40a42
|
@ -2137,11 +2137,7 @@ void InitializeFeatures(const FunctionsGL *functions, angle::FeaturesGL *feature
|
|||
isTSANBuild && IsLinux() && isNvidia);
|
||||
|
||||
// anglebug.com/4849
|
||||
// This workaround is definitely needed on Intel and AMD GPUs. To
|
||||
// determine whether it's needed on iOS and Apple Silicon, the
|
||||
// workaround's being restricted to existing desktop GPUs.
|
||||
ANGLE_FEATURE_CONDITION(features, emulatePackSkipRowsAndPackSkipPixels,
|
||||
IsApple() && (isAMD || isIntel || isNvidia));
|
||||
ANGLE_FEATURE_CONDITION(features, emulatePackSkipRowsAndPackSkipPixels, IsApple());
|
||||
|
||||
// http://crbug.com/1042393
|
||||
// XWayland defaults to a 1hz refresh rate when the "surface is not visible", which sometimes
|
||||
|
|
Загрузка…
Ссылка в новой задаче