diff --git a/CMakeLists.txt b/CMakeLists.txt index a826f640..c772b055 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ) diff --git a/server/driver/wivrn_comp_target.cpp b/server/driver/wivrn_comp_target.cpp index d9a748ff..b5d17922 100644 --- a/server/driver/wivrn_comp_target.cpp +++ b/server/driver/wivrn_comp_target.cpp @@ -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(); } diff --git a/server/driver/yuv_converter.cpp b/server/driver/yuv_converter.cpp index cf0d2ac1..08d5593a 100644 --- a/server/driver/yuv_converter.cpp +++ b/server/driver/yuv_converter.cpp @@ -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) :