Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ValveSoftware/vkd3d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJózef Kucia <jkucia@codeweavers.com>2019-04-30 15:33:49 +0300
committerAlexandre Julliard <julliard@winehq.org>2019-05-01 23:54:23 +0300
commite7b94e0337d2afcbd0a5837277efffbd61245cfb (patch)
tree5e35ab1b30b917dfc05e26950f3f7005af330745 /include
parentdf7274672975688f6034a8d9a17a9018289a5ea5 (diff)
vkd3d: Enable Vulkan debug extensions independently of debug log level.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Diffstat (limited to 'include')
-rw-r--r--include/private/vkd3d_debug.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/private/vkd3d_debug.h b/include/private/vkd3d_debug.h
index 418e2c45..7642dec5 100644
--- a/include/private/vkd3d_debug.h
+++ b/include/private/vkd3d_debug.h
@@ -22,6 +22,7 @@
#include "vkd3d_common.h"
#include <stdarg.h>
+#include <stdint.h>
#ifdef VKD3D_NO_TRACE_MESSAGES
#define TRACE(args...) do { } while (0)
@@ -90,4 +91,13 @@ static inline const char *debugstr_guid(const GUID *guid)
unsigned int vkd3d_env_var_as_uint(const char *name, unsigned int default_value) DECLSPEC_HIDDEN;
+struct vkd3d_debug_option
+{
+ const char *name;
+ uint64_t flag;
+};
+
+uint64_t vkd3d_parse_debug_options(const char *string,
+ const struct vkd3d_debug_option *options, unsigned int option_count) DECLSPEC_HIDDEN;
+
#endif /* __VKD3D_DEBUG_H */