Update monado (vk_print_result change)
This commit is contained in:
+1
-1
@@ -112,7 +112,7 @@ FetchContent_Declare(tinygltf URL https://github.com/syoyo/tinygltf/archive
|
||||
# Server dependencies
|
||||
FetchContent_Declare(monado
|
||||
GIT_REPOSITORY https://gitlab.freedesktop.org/monado/monado
|
||||
GIT_TAG 3dcd555a6f2071e951010e080916a93353f5dab5
|
||||
GIT_TAG c7ec85cfd2613f346624bde89b9d00dee5d47ce2
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -388,7 +388,7 @@ static void comp_wivrn_create_images(struct comp_target * ct,
|
||||
VkResult res = create_images(cn, image_usage, settings);
|
||||
if (res != VK_SUCCESS)
|
||||
{
|
||||
vk_print_result(get_vk(cn), res, "create_images", __FILE__, __LINE__);
|
||||
vk_print_result(get_vk(cn), __FILE__, __LINE__, __func__, res, "create_images");
|
||||
// TODO
|
||||
abort();
|
||||
}
|
||||
|
||||
@@ -122,14 +122,14 @@ static void destroy_all(YuvConverter * ptr)
|
||||
vk->vkDestroyShaderModule(vk->device, ptr->vert, nullptr);
|
||||
}
|
||||
|
||||
#define vk_check_throw(fun, res) \
|
||||
do \
|
||||
{ \
|
||||
if (res != VK_SUCCESS) \
|
||||
{ \
|
||||
vk_print_result(&this->vk, res, fun, __FILE__, __LINE__); \
|
||||
throw std::runtime_error(fun "failed"); \
|
||||
} \
|
||||
#define vk_check_throw(fun, res) \
|
||||
do \
|
||||
{ \
|
||||
if (res != VK_SUCCESS) \
|
||||
{ \
|
||||
vk_print_result(&this->vk, __FILE__, __LINE__, __func__, res, fun); \
|
||||
throw std::runtime_error(fun "failed"); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
YuvConverter::YuvConverter(vk_bundle * vk, vk_cmd_pool & pool, VkExtent3D extent, int offset_x, int offset_y, int input_width, int input_height) :
|
||||
|
||||
Reference in New Issue
Block a user