/* * * Copyright (c) 2014-2022 The Khronos Group Inc. * Copyright (c) 2014-2022 Valve Corporation * Copyright (c) 2014-2022 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Author: Jon Ashburn <[email protected]> * Author: Courtney Goeltzenleuchter <[email protected]> * Author: Chia-I Wu <[email protected]> * Author: Chia-I Wu <[email protected]> * Author: Mark Lobodzinski <[email protected]> * Author: Lenny Komow <[email protected]> * Author: Charles Giessen <[email protected]> * */ #include "log.h" #include <stdio.h> #include <stdarg.h> #include "debug_utils.h" #include "loader_common.h" #include "loader_environment.h" #include "settings.h" #include "vk_loader_platform.h" uint32_t g_loader_debug = …; void loader_init_global_debug_level(void) { … } void loader_set_global_debug_level(uint32_t new_loader_debug) { … } void loader_log(const struct loader_instance *inst, VkFlags msg_type, int32_t msg_code, const char *format, ...) { … } void loader_log_asm_function_not_supported(const struct loader_instance *inst, VkFlags msg_type, int32_t msg_code, const char *func_name) { … }