Module: Mesa
Branch: master
Commit: da92f16c500642879221b201a8292080236b4251
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=da92f16c500642879221b201a8292080236b4251

Author: Eric Anholt <e...@anholt.net>
Date:   Mon Dec 14 12:25:28 2015 -0800

vc4: Fix min() wrapper definition for the simulator's kernel code.

---

 src/gallium/drivers/vc4/vc4_simulator_validate.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/vc4/vc4_simulator_validate.h 
b/src/gallium/drivers/vc4/vc4_simulator_validate.h
index 40d3ada..e1f8b5a 100644
--- a/src/gallium/drivers/vc4/vc4_simulator_validate.h
+++ b/src/gallium/drivers/vc4/vc4_simulator_validate.h
@@ -45,7 +45,7 @@ struct vc4_exec_info;
 #define roundup(x, y) align(x, y)
 #define round_up(x, y) align(x, y)
 #define max(x, y) MAX2(x, y)
-#define min(x, y) MiN2(x, y)
+#define min(x, y) MIN2(x, y)
 #define BUG_ON(condition) assert(!(condition))
 
 static inline int

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to