Fix fuchsia build of dawn in chromium This CL [1] changed the include order in SemaphoreServiceImplementationZirconHandle.cpp and uncovered an existing IWYU issue for VkPhysicalDevice, causing the build failure in [2], preventing dawn->chromium rolls. I have verified all of this locally. Fix by including the appropriate header for VkPhysicalDevice. [1] https://dawn-review.googlesource.com/c/dawn/+/290955 [2] https://ci.chromium.org/ui/p/chromium/builders/try/fuchsia-binary-size/1449890? Change-Id: Ibbc1cad562002995720a21be26ef44f4fe1d6ec0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/291175 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Auto-Submit: Victor Vianna <victorvianna@google.com>
diff --git a/src/dawn/native/vulkan/external_semaphore/SemaphoreServiceImplementationZirconHandle.h b/src/dawn/native/vulkan/external_semaphore/SemaphoreServiceImplementationZirconHandle.h index bba5cfd..3904c90 100644 --- a/src/dawn/native/vulkan/external_semaphore/SemaphoreServiceImplementationZirconHandle.h +++ b/src/dawn/native/vulkan/external_semaphore/SemaphoreServiceImplementationZirconHandle.h
@@ -30,6 +30,8 @@ #include <memory> +#include "dawn/common/vulkan_platform.h" + namespace dawn::native::vulkan { class Device; struct VulkanDeviceInfo;