#include "extension_helper.h"
+extern const struct tnl_pipeline_stage *r700_pipeline[];
const struct dri_extension card_extensions[] = {
/* *INDENT-OFF* */
/* Install the customized pipeline:
*/
_tnl_destroy_pipeline(ctx);
- _tnl_install_pipeline(ctx, (const struct tnl_pipeline_stage **)(r600->chipobj.stages));
+ _tnl_install_pipeline(ctx, r700_pipeline);
/* Try and keep materials and vertices separate:
*/
GLuint (*GetTexObjSize)(void);
- struct tnl_pipeline_stage **stages;
} chip_object;
/**
#include "r700_vertprog.h"
#include "r700_ioctl.h"
-extern const struct tnl_pipeline_stage *r700_pipeline[];
-
static GLboolean r700DestroyChipObj(GLcontext * ctx)
{
context_t * context = R700_CONTEXT(ctx);
context->chipobj.GetTexObjSize = r700GetTexObjSize;
- context->chipobj.stages = r700_pipeline;
-
context->chipobj.InitFuncs = r700InitFuncs;
context->chipobj.InitState = r700InitState;
unsigned int r700PrimitiveType(int prim)
{
- switch (prim & PRIM_MODE_MASK)
+ switch (prim & PRIM_MODE_MASK)
{
case GL_POINTS:
return DI_PT_POINTLIST;