r300: cleanup includes
authorMaciej Cencora <m.cencora@gmail.com>
Sat, 18 Apr 2009 11:37:30 +0000 (13:37 +0200)
committerDave Airlie <airlied@linux.ie>
Sun, 19 Apr 2009 12:15:05 +0000 (22:15 +1000)
src/mesa/drivers/dri/r300/r300_fragprog.c
src/mesa/drivers/dri/r300/r300_fragprog.h
src/mesa/drivers/dri/r300/r300_fragprog_common.c
src/mesa/drivers/dri/r300/r500_fragprog.c
src/mesa/drivers/dri/r300/r500_fragprog.h

index 825246687fb29bceda7c1df169324bb6d62b8fe4..921ca33c750f905557bff4e93a6d0cc500b7e48c 100644 (file)
  *
  */
 
+#include "r300_fragprog.h"
+
 #include "shader/prog_parameter.h"
-#include "shader/prog_print.h"
 
 #include "r300_context.h"
-#include "r300_fragprog.h"
 #include "r300_fragprog_swizzle.h"
-#include "r300_state.h"
-
-#include "radeon_nqssadce.h"
 
 static void reset_srcreg(struct prog_src_register* reg)
 {
index 0713810adeb323c94a5759e57af25455ad8fa54b..affa022a5cf147bbdfb3cc0650e5be2b6941f1e3 100644 (file)
@@ -33,9 +33,6 @@
 #ifndef __R300_FRAGPROG_H_
 #define __R300_FRAGPROG_H_
 
-#include "main/glheader.h"
-#include "main/macros.h"
-#include "main/enums.h"
 #include "shader/program.h"
 #include "shader/prog_instruction.h"
 
index 953d920d1fdfcf8538ea6107b3399dfeabe30e35..3d4bd5db2177ec786cec7c09be8b12e620cfabf4 100644 (file)
 
 #include "r300_fragprog_common.h"
 
+#include "shader/program.h"
+#include "shader/prog_parameter.h"
+#include "shader/prog_print.h"
+
+#include "r300_state.h"
 #include "r300_fragprog.h"
 #include "r300_fragprog_swizzle.h"
 #include "r500_fragprog.h"
index 6de92effe661db2d2ace06742e657a95b93418e0..e9c0d89dd437f7442f4fbbff66aa9a348edc180c 100644 (file)
 
 #include "r500_fragprog.h"
 
-#include "radeon_nqssadce.h"
-#include "radeon_program_alu.h"
-#include "r300_fragprog.h"
-
 static void reset_srcreg(struct prog_src_register* reg)
 {
        _mesa_bzero(reg, sizeof(*reg));
index c7e313774cf7c776d75191ee563fc716440d041d..9ca2f9be5108720bdbae8805fa898b5a279fef2b 100644 (file)
 #ifndef __R500_FRAGPROG_H_
 #define __R500_FRAGPROG_H_
 
-#include "main/glheader.h"
-#include "main/macros.h"
-#include "main/enums.h"
 #include "shader/prog_parameter.h"
-#include "shader/prog_print.h"
-#include "shader/program.h"
 #include "shader/prog_instruction.h"
 
 #include "r300_context.h"
-#include "r300_state.h"
-#include "radeon_program.h"
 #include "radeon_nqssadce.h"
 
 extern GLboolean r500FragmentProgramEmit(struct r300_fragment_program_compiler *compiler);
@@ -55,4 +48,5 @@ extern GLboolean r500FPIsNativeSwizzle(GLuint opcode, struct prog_src_register r
 extern void r500FPBuildSwizzle(struct nqssadce_state *s, struct prog_dst_register dst, struct prog_src_register src);
 
 extern GLboolean r500_transform_TEX(struct radeon_transform_context *t, struct prog_instruction* orig_inst, void* data);
+
 #endif