r300: cleanup includes

This commit is contained in:
Maciej Cencora 2009-04-18 13:37:30 +02:00 committed by Dave Airlie
parent a2d49eeaeb
commit 78878a13fe
5 changed files with 8 additions and 19 deletions

View file

@ -25,15 +25,12 @@
*
*/
#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)
{

View 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"

View file

@ -38,6 +38,11 @@
#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"

View file

@ -27,10 +27,6 @@
#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));

View file

@ -33,17 +33,10 @@
#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