[Mesa-dev] [PATCH 13/32] i965: Stop including brw_defines.h in brw_state.h

Jason Ekstrand jason at jlekstrand.net
Thu Aug 11 21:15:10 UTC 2016


---
 src/mesa/drivers/dri/i965/brw_meta_util.c | 1 +
 src/mesa/drivers/dri/i965/brw_state.h     | 1 -
 src/mesa/drivers/dri/i965/gen6_blorp.c    | 1 +
 src/mesa/drivers/dri/i965/gen7_blorp.c    | 1 +
 4 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_meta_util.c b/src/mesa/drivers/dri/i965/brw_meta_util.c
index c3af167..90f0345 100644
--- a/src/mesa/drivers/dri/i965/brw_meta_util.c
+++ b/src/mesa/drivers/dri/i965/brw_meta_util.c
@@ -22,6 +22,7 @@
  */
 
 #include "brw_context.h"
+#include "brw_defines.h"
 #include "intel_fbo.h"
 #include "brw_meta_util.h"
 #include "brw_state.h"
diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h
index 8990485..eb138b3 100644
--- a/src/mesa/drivers/dri/i965/brw_state.h
+++ b/src/mesa/drivers/dri/i965/brw_state.h
@@ -34,7 +34,6 @@
 #define BRW_STATE_H
 
 #include "brw_context.h"
-#include "brw_defines.h"
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/src/mesa/drivers/dri/i965/gen6_blorp.c b/src/mesa/drivers/dri/i965/gen6_blorp.c
index abdcf17..344a40c 100644
--- a/src/mesa/drivers/dri/i965/gen6_blorp.c
+++ b/src/mesa/drivers/dri/i965/gen6_blorp.c
@@ -27,6 +27,7 @@
 #include "intel_mipmap_tree.h"
 
 #include "brw_context.h"
+#include "brw_defines.h"
 #include "brw_state.h"
 
 #include "blorp_priv.h"
diff --git a/src/mesa/drivers/dri/i965/gen7_blorp.c b/src/mesa/drivers/dri/i965/gen7_blorp.c
index d35d6c6..8fe293d 100644
--- a/src/mesa/drivers/dri/i965/gen7_blorp.c
+++ b/src/mesa/drivers/dri/i965/gen7_blorp.c
@@ -27,6 +27,7 @@
 #include "intel_mipmap_tree.h"
 
 #include "brw_context.h"
+#include "brw_defines.h"
 #include "brw_state.h"
 
 #include "blorp_priv.h"
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list