remove unneeded includes
authorBrian <brian.paul@tungstengraphics.com>
Wed, 22 Aug 2007 16:04:16 +0000 (10:04 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 22 Aug 2007 16:04:16 +0000 (10:04 -0600)
src/mesa/pipe/i915simple/i915_blit.c
src/mesa/pipe/i915simple/i915_fpc_emit.c
src/mesa/pipe/i915simple/i915_prim_emit.c
src/mesa/pipe/i915simple/i915_state_derived.c
src/mesa/pipe/i915simple/i915_state_dynamic.c
src/mesa/pipe/i915simple/i915_tex_layout.c
src/mesa/pipe/i915simple/i915_winsys.h

index 5044cf17f7629ae0215595668e1a1a16b4afcaa4..0a8a1542d72ae41a880fc8cbc12e13ccc8842b4c 100644 (file)
  **************************************************************************/
 
 
-#include <stdio.h>
-
-//#include "mtypes.h"
-
 #include "i915_context.h"
 #include "i915_winsys.h"
 #include "i915_blit.h"
index 7259bb503db1f3acde81ed2e65ec98ecc27c998a..26a4f36e71058f61163be35c91b69cb09e45e1ea 100644 (file)
  * 
  **************************************************************************/
 
-#if 0
-#include <strings.h>
-#include "glheader.h"
-#include "macros.h"
-#include "enums.h"
-#endif
-
 #include "i915_reg.h"
 #include "i915_context.h"
 #include "i915_fpc.h"
index 5a18d03e50dfa87496c00cb5f40c46fca404f4bf..2c5f11c225f8ec3895ba19f13fa8a84e353e09ab 100644 (file)
@@ -26,9 +26,6 @@
  **************************************************************************/
 
 
-//#include "imports.h"
-//#include "macros.h"
-
 #include "pipe/draw/draw_private.h"
 #include "pipe/p_util.h"
 
index b4ec480f2d0486c433e7700f2821876e1cb3bd9f..5a493cc9cfa560c712fec7c8fa483da7b5c4c835 100644 (file)
  * 
  **************************************************************************/
 
-#include "main/glheader.h"
-#include "main/macros.h"
-#include "main/enums.h"
-
 #include "vf/vf.h"
 #include "pipe/draw/draw_context.h"
 #include "i915_context.h"
 #include "i915_state.h"
 
+/* XXX should include i915_fpc.h but that causes some trouble atm */
+extern void i915_translate_fragment_program( struct i915_context *i915 );
+
+
 
-#define EMIT_ATTR( VF_ATTR, FRAG_ATTR, INTERP )                        \
-do {                                                           \
+#define EMIT_ATTR( VF_ATTR, FRAG_ATTR, INTERP )        \
+do {                                           \
    slot_to_vf_attr[nr_attrs] = VF_ATTR;                \
    nr_attrs++;                                 \
-   attr_mask |= (1 << (VF_ATTR));                              \
+   attr_mask |= (1 << (VF_ATTR));              \
 } while (0)
 
 
index 84bff17b2f93e7bf7780058af0a4b4ecc85acba1..e648357754f5d78b2b9ab1b4695693ee8ed28936 100644 (file)
  * 
  **************************************************************************/
 
-//#include "glheader.h"
-//#include "context.h"
-//#include "macros.h"
-//#include "enums.h"
-
 #include "i915_batch.h"
 #include "i915_state_inlines.h"
 #include "i915_context.h"
index ec1fb9532d2870cac12700b780e35c5e1b4ccc6d..39c3cf2f71ea56b74565f01254e407c55f753f76 100644 (file)
@@ -30,7 +30,6 @@
   *   Michel Dänzer <michel@tungstengraphics.com>
   */
 
-//#include "macros.h"
 #include "pipe/p_state.h"
 #include "pipe/p_context.h"
 #include "pipe/p_defines.h"
index 10a828303546a9e14ad1e77059e3fd0532227101..a95927d803a470e2eb448bab0b169aa87467f6f9 100644 (file)
@@ -28,7 +28,6 @@
 #ifndef I915_WINSYS_H
 #define I915_WINSYS_H
 
-//#include "main/mtypes.h"
 
 /* This is the interface that softpipe requires any window system
  * hosting it to implement.  This is the only include file in softpipe