Fix VkResult typo in MemoryServiceDmaBuf

Bug: dawn:295
Change-Id: I24b0204fecb8503c98c30ba3741440253200fcc5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14662
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
Austin Eng 2019-12-18 00:39:26 +00:00 committed by Commit Bot service account
parent fc6b1e3912
commit 3d2d62813f
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ namespace dawn_native { namespace vulkan { namespace external_memory {
imageFormatProps.pNext = &externalImageFormatProps; imageFormatProps.pNext = &externalImageFormatProps;
VkResult result = VkResult result =
WkResult::WrapUnsafe(mDevice->fn.GetPhysicalDeviceImageFormatProperties2KHR( VkResult::WrapUnsafe(mDevice->fn.GetPhysicalDeviceImageFormatProperties2KHR(
physicalDevice, &imageFormatInfo, &imageFormatProps)); physicalDevice, &imageFormatInfo, &imageFormatProps));
if (result != VK_SUCCESS) { if (result != VK_SUCCESS) {
return false; return false;