projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
081f617
)
vk: Define anv_printflike() macro
author
Chad Versace
<chad.versace@intel.com>
Tue, 9 Jun 2015 21:45:58 +0000
(14:45 -0700)
committer
Chad Versace
<chad.versace@intel.com>
Tue, 9 Jun 2015 21:46:45 +0000
(14:46 -0700)
src/vulkan/private.h
patch
|
blob
|
history
diff --git
a/src/vulkan/private.h
b/src/vulkan/private.h
index 645e96d75a916691c5343e14f406a73310818e38..8cffdf1f91b5a3e9543f6c5f1dab1157f2a76cfd 100644
(file)
--- a/
src/vulkan/private.h
+++ b/
src/vulkan/private.h
@@
-46,6
+46,8
@@
extern "C" {
#endif
+#define anv_printflike(a, b) __attribute__((__format__(__printf__, a, b)))
+
static inline uint32_t
ALIGN_U32(uint32_t v, uint32_t a)
{