summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2015-12-14 12:25:28 -0800
committerEric Anholt <[email protected]>2015-12-15 12:02:53 -0800
commitda92f16c500642879221b201a8292080236b4251 (patch)
treebcc1ba2d281352047bf494f4b0ba02d063ec0bf8 /src
parent02bcb443ee39cec1b61e5ba3e466471f3668f536 (diff)
vc4: Fix min() wrapper definition for the simulator's kernel code.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/vc4/vc4_simulator_validate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_simulator_validate.h b/src/gallium/drivers/vc4/vc4_simulator_validate.h
index 40d3ada6ca2..e1f8b5a305e 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