-/* Quite a bit of work involved in finding out the inputs for the
- * render stage.
- */
-static void check_render( GLcontext *ctx, struct gl_pipeline_stage *stage )
-{
- GLuint inputs = VERT_BIT_CLIP;
- GLuint i;
-
- if (ctx->Visual.rgbMode) {
- inputs |= VERT_BIT_COLOR0;
-
- if (NEED_SECONDARY_COLOR(ctx))
- inputs |= VERT_BIT_COLOR1;
-
- if (ctx->Texture._EnabledCoordUnits) {
- for (i = 0 ; i < ctx->Const.MaxTextureUnits ; i++) {
- if (ctx->Texture._EnabledCoordUnits & (1 << i))
- inputs |= VERT_BIT_TEX(i);
- }
- }
- }
- else {
- inputs |= VERT_BIT_INDEX;
- }
-
- if (ctx->Point._Attenuated)
- inputs |= VERT_BIT_POINT_SIZE;
-
- /* How do drivers turn this off?
- */
- if (ctx->Fog.Enabled)
- inputs |= VERT_BIT_FOG;
-
- if (ctx->Polygon.FrontMode != GL_FILL || ctx->Polygon.BackMode != GL_FILL)
- inputs |= VERT_BIT_EDGEFLAG;
-
- if (ctx->RenderMode==GL_FEEDBACK)
- inputs |= VERT_BITS_TEX_ANY;
-
- stage->inputs = inputs;
-}
-
-
-
-
-static void dtr( struct gl_pipeline_stage *stage )
-{
-}