mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-18 17:35:30 +00:00
Remove WrapVulkanImageOpaqueFD
This CL removes the deprecated WrapVulkanImageOpaqueFD now that it no longer being called in Chromium [1]. [1] https://chromium-review.googlesource.com/c/chromium/src/+/1931145 BUG=chromium:996470 Change-Id: I19a7ff36e39b5ed07c68f422cd053f480a7c177e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13980 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Brian Ho <hob@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
f6eb890f4c
commit
e568fe138e
@@ -165,8 +165,7 @@ namespace {
|
||||
descriptor.memoryFD = memoryFd;
|
||||
descriptor.waitFDs = waitFDs;
|
||||
|
||||
WGPUTexture texture =
|
||||
dawn_native::vulkan::WrapVulkanImageOpaqueFD(device.Get(), &descriptor);
|
||||
WGPUTexture texture = dawn_native::vulkan::WrapVulkanImage(device.Get(), &descriptor);
|
||||
|
||||
if (expectValid) {
|
||||
EXPECT_NE(texture, nullptr) << "Failed to wrap image, are external memory / "
|
||||
|
||||
Reference in New Issue
Block a user