projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d178e15
)
vk: Define MAX(a, b) macro
author
Chad Versace
<chad.versace@intel.com>
Thu, 28 May 2015 16:50:18 +0000
(09:50 -0700)
committer
Chad Versace
<chad.versace@intel.com>
Thu, 25 Jun 2015 23:29:42 +0000
(16:29 -0700)
src/vulkan/private.h
patch
|
blob
|
history
diff --git
a/src/vulkan/private.h
b/src/vulkan/private.h
index abc0cfb8ec2f320952a311c7ea6fcd3548f16441..db7f5f30af30a7c2035f02f22d993749ec0a6de0 100644
(file)
--- a/
src/vulkan/private.h
+++ b/
src/vulkan/private.h
@@
-58,6
+58,8
@@
extern "C" {
#define anv_noreturn __attribute__((__noreturn__))
#define anv_printflike(a, b) __attribute__((__format__(__printf__, a, b)))
+#define MAX(a, b) ((a) > (b) ? (a) : (b))
+
static inline uint32_t
ALIGN_U32(uint32_t v, uint32_t a)
{