projects
/
platform
/
core
/
uifw
/
vulkan-wsi-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5656164
)
utils: Add boolean variable type
73/65673/1
author
Taekyun Kim
<tkq.kim@samsung.com>
Thu, 31 Mar 2016 06:41:33 +0000
(15:41 +0900)
committer
Taekyun Kim
<tkq.kim@samsung.com>
Tue, 12 Apr 2016 05:56:02 +0000
(14:56 +0900)
Use vk_bool_t and VK_TRUE/FALSE for boolean variables.
Change-Id: Ia3039c0a556053ece14b84357a8d3284df2818e0
src/utils/utils.h
patch
|
blob
|
history
diff --git
a/src/utils/utils.h
b/src/utils/utils.h
index
56ff170
..
4f0cfc7
100644
(file)
--- a/
src/utils/utils.h
+++ b/
src/utils/utils.h
@@
-27,6
+27,7
@@
#include <config.h>
#include <assert.h>
+#include <vulkan/vulkan.h>
#if defined(__GNUC__) && __GNUC__ >= 4
#define VK_EXPORT __attribute__((visibility("default")))
@@
-67,6
+68,8
@@
#define VK_ASSERT(exp) assert(exp)
+typedef VkBool32 vk_bool_t;
+
void
vk_log(const char *domain, const char *file, int line, const char *format, ...);