mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-13 16:45:56 +00:00
In Vulkan, importing memory by file descriptor takes ownership of the file descriptor. It is necessary to dup it in ClearImageAcrossDevicesAliased because the texture is imported twice. This fixes these tests on SwiftShader. Bug: dawn:417 Change-Id: I08b6464c4b8bd31f738037678e29fd6d066e7888 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/22020 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>