Vulkan: Disable VK_EXT_host_image_copy on Fuchsia

An old version of VVL is used, causing incorrect failures.

Bug: angleproject:8341
Change-Id: I0fc605616671343a49fed6ff02ecd67eea672dca
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4873440
Auto-Submit: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Yuxin Hu <yuxinhu@google.com>
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
This commit is contained in:
Shahbaz Youssefi
2023-09-18 13:30:54 -04:00
committed by Angle LUCI CQ
parent f1345d1c83
commit d62db89e17

View File

@@ -4674,9 +4674,12 @@ void RendererVk::initFeatures(DisplayVk *displayVk,
// Only enable VK_EXT_host_image_copy on hardware where identicalMemoryTypeRequirements is set.
// That lets ANGLE avoid having to fallback to non-host-copyable image allocations if the
// host-copyable one fails due to out-of-that-specific-kind-of-memory.
//
// Disabled on Fuchsia until they upgrade their version of VVL.
ANGLE_FEATURE_CONDITION(&mFeatures, supportsHostImageCopy,
mHostImageCopyFeatures.hostImageCopy == VK_TRUE &&
mHostImageCopyProperties.identicalMemoryTypeRequirements);
mHostImageCopyProperties.identicalMemoryTypeRequirements &&
!IsFuchsia());
// 1) host vk driver does not natively support ETC format.
// 2) host vk driver supports BC format.