Check vkGetPhysicalDeviceImageFormatProperties() result value
authorPyry Haulos <phaulos@google.com>
Fri, 22 Jan 2016 21:01:29 +0000 (13:01 -0800)
committerPyry Haulos <phaulos@google.com>
Fri, 22 Jan 2016 21:01:29 +0000 (13:01 -0800)
external/vulkancts/framework/vulkan/vkQueryUtil.cpp

index 60e16de..f8128e4 100644 (file)
@@ -124,7 +124,7 @@ VkImageFormatProperties getPhysicalDeviceImageFormatProperties (const InstanceIn
 
        deMemset(&properties, 0, sizeof(properties));
 
-       vk.getPhysicalDeviceImageFormatProperties(physicalDevice, format, type, tiling, usage, flags, &properties);
+       VK_CHECK(vk.getPhysicalDeviceImageFormatProperties(physicalDevice, format, type, tiling, usage, flags, &properties));
        return properties;
 }