intel/crocus: push main/macros.h out to the users
authorDave Airlie <airlied@redhat.com>
Tue, 7 Dec 2021 06:43:43 +0000 (16:43 +1000)
committerMarge Bot <emma+marge@anholt.net>
Tue, 7 Dec 2021 23:59:58 +0000 (23:59 +0000)
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14104>

src/gallium/drivers/crocus/crocus_state.c
src/intel/compiler/brw_compiler.h

index 34b3755..a6bd2d8 100644 (file)
 
 #include "crocus_genx_macros.h"
 #include "intel/common/intel_guardband.h"
+#include "main/macros.h" /* UNCLAMPED_* */
 
 /**
  * Statically assert that PIPE_* enums match the hardware packets.
index 63fe7d9..4c932fb 100644 (file)
@@ -27,7 +27,6 @@
 #include <stdio.h>
 #include "dev/intel_device_info.h"
 #include "main/glheader.h"
-#include "main/macros.h"
 #include "main/config.h"
 #include "util/ralloc.h"
 #include "util/u_math.h"