nir: include what we want/need
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 24 Nov 2015 15:33:45 +0000 (15:33 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 25 Nov 2015 20:19:47 +0000 (20:19 +0000)
Swap core.h with macros.h, as the latter provides the required MAX2
macro.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/glsl/nir/glsl_types.cpp

index 9cc3715db8a92b21f29c6ea4f58779c44d93c88e..3cf2f03f9ba43a3693ed9c7306d4680a719e53d6 100644 (file)
@@ -22,7 +22,7 @@
  */
 
 #include <stdio.h>
-#include "main/core.h" /* for Elements, MAX2 */
+#include "main/macros.h"
 #include "glsl_parser_extras.h"
 #include "glsl_types.h"
 #include "util/hash_table.h"