blob: a83d6f19cf8217acb12e378a1c30f439e86adbdb [file] [log] [blame]
Mark Lobodzinski6eda00a2016-02-02 15:55:36 -07001/* Copyright (c) 2015-2016 The Khronos Group Inc.
2 * Copyright (c) 2015-2016 Valve Corporation
3 * Copyright (c) 2015-2016 LunarG, Inc.
Jon Ashburnbe582642014-12-22 12:04:40 -07004 *
Jon Ashburn3ebf1252016-04-19 11:30:31 -06005 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
Jon Ashburnbe582642014-12-22 12:04:40 -07008 *
Jon Ashburn3ebf1252016-04-19 11:30:31 -06009 * http://www.apache.org/licenses/LICENSE-2.0
Jon Ashburnbe582642014-12-22 12:04:40 -070010 *
Jon Ashburn3ebf1252016-04-19 11:30:31 -060011 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
Jon Ashburnbe582642014-12-22 12:04:40 -070016 *
Jon Ashburne922f712015-11-03 13:41:23 -070017 * Author: Jon Ashburn <jon@lunarg.com>
Jon Ashburnbe582642014-12-22 12:04:40 -070018 **************************************************************************/
19#pragma once
Jon Ashburna8aa8372015-03-03 15:07:15 -070020#include <stdbool.h>
Jon Ashburnbe582642014-12-22 12:04:40 -070021
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26const char *getLayerOption(const char *_option);
Jon Ashburn5484e0c2016-03-08 17:48:44 -070027FILE *getLayerLogOutput(const char *_option, const char *layerName);
Mark Lobodzinski1ed594e2016-02-03 09:57:14 -070028VkDebugReportFlagsEXT getLayerOptionFlags(const char *_option, uint32_t optionDefault);
Jon Ashburna8aa8372015-03-03 15:07:15 -070029bool getLayerOptionEnum(const char *_option, uint32_t *optionDefault);
Jon Ashburnbe582642014-12-22 12:04:40 -070030
Jon Ashburndec60512015-01-13 17:24:01 -070031void setLayerOption(const char *_option, const char *_val);
32void setLayerOptionEnum(const char *_option, const char *_valEnum);
Courtney Goeltzenleuchterf85e3612015-06-14 11:33:06 -060033void print_msg_flags(VkFlags msgFlags, char *msg_flags);
Jon Ashburnbe582642014-12-22 12:04:40 -070034#ifdef __cplusplus
35}
36#endif