blob: 92865f69bdf9370f1fb2c2ad79ce23e4e367d311 [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
Tobin Ehlis0a43bde2016-05-03 08:31:08 -060020#include "vulkan/vulkan.h"
Jon Ashburna8aa8372015-03-03 15:07:15 -070021#include <stdbool.h>
Tobin Ehlis0a43bde2016-05-03 08:31:08 -060022#include <stdio.h>
Jon Ashburnbe582642014-12-22 12:04:40 -070023
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28const char *getLayerOption(const char *_option);
Jon Ashburn5484e0c2016-03-08 17:48:44 -070029FILE *getLayerLogOutput(const char *_option, const char *layerName);
Mark Lobodzinski1ed594e2016-02-03 09:57:14 -070030VkDebugReportFlagsEXT getLayerOptionFlags(const char *_option, uint32_t optionDefault);
Jon Ashburna8aa8372015-03-03 15:07:15 -070031bool getLayerOptionEnum(const char *_option, uint32_t *optionDefault);
Jon Ashburnbe582642014-12-22 12:04:40 -070032
Jon Ashburndec60512015-01-13 17:24:01 -070033void setLayerOption(const char *_option, const char *_val);
34void setLayerOptionEnum(const char *_option, const char *_valEnum);
Courtney Goeltzenleuchterf85e3612015-06-14 11:33:06 -060035void print_msg_flags(VkFlags msgFlags, char *msg_flags);
Jon Ashburnbe582642014-12-22 12:04:40 -070036#ifdef __cplusplus
37}
38#endif