From: Chad Versace Date: Tue, 9 Jun 2015 21:45:58 +0000 (-0700) Subject: vk: Define anv_printflike() macro X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=822cb16abe9b1446b218f58d7aa679da02efca7f;p=mesa.git vk: Define anv_printflike() macro --- 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) {