nir: include what we want/need

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>
This commit is contained in:
Emil Velikov
2015-11-24 15:33:45 +00:00
committed by Emil Velikov
parent 3810c15614
commit 0572e5fea5
+1 -1
View 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"