Go to the documentation of this file.
34 #define CHECK_VK_ERROR(err, ...) \
36 if (err != VK_SUCCESS) \
38 Diligent::LogError<false>(false, __FUNCTION__, __FILE__, __LINE__, __VA_ARGS__, "\nVK Error: ", VulkanUtilities::VkResultToString(err)); \
39 UNEXPECTED("Error"); \
43 #define CHECK_VK_ERROR_AND_THROW(err, ...) \
45 if (err != VK_SUCCESS) \
46 Diligent::LogError<true>(false, __FUNCTION__, __FILE__, __LINE__, __VA_ARGS__, "\nVK Error Code: ", VulkanUtilities::VkResultToString(err)); \