diff options
author | Tapani Pälli <[email protected]> | 2017-08-25 09:55:39 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2017-09-12 09:42:00 +0300 |
commit | d083bc1c4b162ae23495fd9236d5fba27c04075b (patch) | |
tree | 25f35781e785b05c2e971b318f1f8954ba135688 /src/intel/vulkan/anv_formats.c | |
parent | 73638be11f4fbb016f6c6d2934134c0d2455d798 (diff) |
anv: wire up vk_errorf macro to do debug reporting
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_formats.c')
-rw-r--r-- | src/intel/vulkan/anv_formats.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_formats.c b/src/intel/vulkan/anv_formats.c index eead1aa7909..47acc56fd04 100644 --- a/src/intel/vulkan/anv_formats.c +++ b/src/intel/vulkan/anv_formats.c @@ -730,7 +730,8 @@ VkResult anv_GetPhysicalDeviceImageFormatProperties2KHR( * vkGetPhysicalDeviceImageFormatProperties2KHR returns * VK_ERROR_FORMAT_NOT_SUPPORTED. */ - result = vk_errorf(VK_ERROR_FORMAT_NOT_SUPPORTED, + result = vk_errorf(physical_device->instance, physical_device, + VK_ERROR_FORMAT_NOT_SUPPORTED, "unsupported VkExternalMemoryTypeFlagBitsKHR 0x%x", external_info->handleType); goto fail; |