summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2015-06-09 14:45:58 -0700
committerChad Versace <[email protected]>2015-06-09 14:46:45 -0700
commit822cb16abe9b1446b218f58d7aa679da02efca7f (patch)
treedff892af8f0f58cacd2a39fb20dc23e69fcd6fc2
parent081f617b5afebba8348c1718f70dfeb92e0f954c (diff)
vk: Define anv_printflike() macro
-rw-r--r--src/vulkan/private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vulkan/private.h b/src/vulkan/private.h
index 645e96d75a9..8cffdf1f91b 100644
--- 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)
{