projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55752fe
)
vk: Define MIN(a, b) macro
author
Chad Versace
<chad.versace@intel.com>
Fri, 26 Jun 2015 22:06:09 +0000
(15:06 -0700)
committer
Chad Versace
<chad.versace@intel.com>
Fri, 26 Jun 2015 22:09:07 +0000
(15:09 -0700)
src/vulkan/private.h
patch
|
blob
|
history
diff --git
a/src/vulkan/private.h
b/src/vulkan/private.h
index e9943062807534b1bc26d069d86fb36135fab80e..65986155317efa083ec4c3629cc6cff87753e90b 100644
(file)
--- a/
src/vulkan/private.h
+++ b/
src/vulkan/private.h
@@
-58,6
+58,7
@@
extern "C" {
#define anv_noreturn __attribute__((__noreturn__))
#define anv_printflike(a, b) __attribute__((__format__(__printf__, a, b)))
+#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) > (b) ? (a) : (b))
static inline uint32_t