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:
parent
fc6b1e3912
commit
3d2d62813f
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue