patch from Kevin DeKorte with some minor fixes from me.
#include "main/colormac.h"
#include "r700_chip.h"
+#include "r600_tex.h"
+#include "r700_oglprog.h"
struct r600_context;
typedef struct r600_context context_t;
#include "r600_cmdbuf.h"
#include "radeon_reg.h"
+void r600EmitCacheFlush(context_t *rmesa);
+
extern GLboolean r600EmitShader(GLcontext * ctx,
void ** shaderbo,
GLvoid * data,
#include "radeon_mipmap_tree.h"
#include "r600_tex.h"
+void r600UpdateTextureState(GLcontext * ctx);
+
void r600UpdateTextureState(GLcontext * ctx)
{
context_t *context = R700_CONTEXT(ctx);
#include "r700_shaderinst.h"
#include "r600_emit.h"
+#include "r700_clear.h"
static GLboolean r700ClearFast(context_t *context, GLbitfield mask)
{
#include "swrast_setup/swrast_setup.h"
#include "tnl/tnl.h"
+#if RADEON_COMMON && defined(RADEON_COMMON_FOR_R600) /* +r6/r7 */
+#include "r600_context.h"
+#endif
+
#define DRIVER_DATE "20090101"
#ifndef RADEON_DEBUG