-/* 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 (ctx->_TriangleCaps & DD_SEPARATE_SPECULAR)
- inputs |= VERT_BIT_COLOR1;
-
- if (ctx->Texture._EnabledUnits) {
- for (i = 0 ; i < ctx->Const.MaxTextureUnits ; i++) {
- if (ctx->Texture.Unit[i]._ReallyEnabled)
- 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->_TriangleCaps & DD_TRI_UNFILLED)
- 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 )
-{
-}