зеркало из https://github.com/AvaloniaUI/angle.git
Fuchsia: Blacklist swiftshader on Fuchsia
This doesn't work and is highly misleading as the tests run with the real GPU. Bug: angleproject:4353 Change-Id: Id9139436e39d5e8e063bcc679b7c63f589d3b748 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2023912 Commit-Queue: Michael Spang <spang@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org>
This commit is contained in:
Родитель
44c7507381
Коммит
2bc9cc12f0
|
@ -373,6 +373,11 @@ bool IsConfigWhitelisted(const SystemInfo &systemInfo, const PlatformParameters
|
|||
if (param.majorVersion > 2 && IsARM())
|
||||
return false;
|
||||
|
||||
// Loading swiftshader is not brought up on Fuchsia.
|
||||
// TODO(anglebug.com/4353): Support loading swiftshader vulkan ICD.
|
||||
if (param.getDeviceType() == EGL_PLATFORM_ANGLE_DEVICE_TYPE_SWIFTSHADER_ANGLE)
|
||||
return false;
|
||||
|
||||
// Currently we only support the Vulkan back-end on Fuchsia.
|
||||
return (param.getRenderer() == EGL_PLATFORM_ANGLE_TYPE_VULKAN_ANGLE);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче