summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple/i915_state_derived.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-22 10:04:16 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-22 10:04:16 -0600
commit4ed87bf2291e4873e94cefe44ddf2b590b09cc42 (patch)
tree31fc9c4360700a1fe4f04f8188714fa9da794351 /src/mesa/pipe/i915simple/i915_state_derived.c
parent0e8761725536388603b15b093c0293892bd72635 (diff)
remove unneeded includes
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_state_derived.c')
-rw-r--r--src/mesa/pipe/i915simple/i915_state_derived.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mesa/pipe/i915simple/i915_state_derived.c b/src/mesa/pipe/i915simple/i915_state_derived.c
index b4ec480f2d..5a493cc9cf 100644
--- a/src/mesa/pipe/i915simple/i915_state_derived.c
+++ b/src/mesa/pipe/i915simple/i915_state_derived.c
@@ -25,21 +25,21 @@
*
**************************************************************************/
-#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)