i965/blorp: Get rid of most brw and mesa includes
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 19 Aug 2016 08:58:41 +0000 (01:58 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 29 Aug 2016 19:17:34 +0000 (12:17 -0700)
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/blorp.c
src/mesa/drivers/dri/i965/blorp_blit.c
src/mesa/drivers/dri/i965/blorp_clear.c
src/mesa/drivers/dri/i965/blorp_priv.h

index 16ccd34aab1a3c0162bc6715db64cb5793c3daba..1c4102f73338da01e540c516f8af1addc1730b3f 100644 (file)
  */
 
 #include <errno.h>
-#include "intel_batchbuffer.h"
-#include "intel_fbo.h"
 
 #include "blorp_priv.h"
 #include "brw_compiler.h"
 #include "brw_nir.h"
-#include "brw_state.h"
 
 void
 blorp_init(struct blorp_context *blorp, void *driver_ctx,
index c5f8272cfd0d0ba02aafc5086d3ed0ac5107b928..00cdc0911e2f016720ceadf87a9e56a8b890915e 100644 (file)
  * IN THE SOFTWARE.
  */
 
-#include "main/context.h"
-#include "main/teximage.h"
-#include "main/fbobject.h"
-
 #include "program/prog_instruction.h"
 #include "compiler/nir/nir_builder.h"
 
-#include "intel_fbo.h"
-
 #include "blorp_priv.h"
-#include "brw_context.h"
 #include "brw_meta_util.h"
 
 #define FILE_DEBUG_FLAG DEBUG_BLORP
index d145cce666d3f739b0d9228bf0dd4a9e56ad4fa9..9f57d9a7775e75c4cc0d964d25468bdd747f4629 100644 (file)
  * IN THE SOFTWARE.
  */
 
-#include "main/teximage.h"
-#include "main/blend.h"
-#include "main/fbobject.h"
-#include "main/renderbuffer.h"
-#include "main/glformats.h"
-
 #include "util/ralloc.h"
 
-#include "intel_fbo.h"
-
 #include "blorp_priv.h"
 #include "brw_meta_util.h"
-#include "brw_context.h"
-#include "brw_eu.h"
+#include "brw_defines.h"
 
 #include "nir_builder.h"
 
index a25291b76743cf563803659002cf815c1eba5573..273b476b617ea86341fea61416c82538500fcc08 100644 (file)
@@ -26,6 +26,7 @@
 #include <stdint.h>
 
 #include "compiler/nir/nir.h"
+#include "brw_compiler.h"
 
 #include "blorp.h"