summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
{