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 5044cf1..0a8a154 100644 (file)
  **************************************************************************/
 
 
-#include <stdio.h>
-
-//#include "mtypes.h"
-
 #include "i915_context.h"
 #include "i915_winsys.h"
 #include "i915_blit.h"
index 7259bb5..26a4f36 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 5a18d03..2c5f11c 100644 (file)
@@ -26,9 +26,6 @@
  **************************************************************************/
 
 
-//#include "imports.h"
-//#include "macros.h"
-
 #include "pipe/draw/draw_private.h"
 #include "pipe/p_util.h"
 
index b4ec480..5a493cc 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 84bff17..e648357 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 ec1fb95..39c3cf2 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 10a8283..a95927d 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