Skeletal extension handling across chipsets.
[mesa.git] / src / mesa / drivers / dri / nouveau / nouveau_shader.c
index 4dedefe5a30187641d8e6e4adf77214b2e5e2195..e3082ebc69beffc3ee6c404e3b2be1789aa833d8 100644 (file)
@@ -184,7 +184,6 @@ nouveauShaderInitFuncs(GLcontext * ctx)
       return;
    }
 
-   _mesa_enable_extension(ctx, "GL_ARB_vertex_program");
    ctx->Const.VertexProgram.MaxNativeInstructions    = nmesa->VPfunc.MaxInst;
    ctx->Const.VertexProgram.MaxNativeAluInstructions = nmesa->VPfunc.MaxInst;
    ctx->Const.VertexProgram.MaxNativeTexInstructions = nmesa->VPfunc.MaxInst;
@@ -196,8 +195,6 @@ nouveauShaderInitFuncs(GLcontext * ctx)
    ctx->Const.VertexProgram.MaxNativeParameters      = nmesa->VPfunc.MaxConst;
 
    if (nmesa->screen->card->type >= NV_30) {
-      _mesa_enable_extension(ctx, "GL_ARB_fragment_program");
-
       ctx->Const.FragmentProgram.MaxNativeInstructions    = nmesa->FPfunc.MaxInst;
       ctx->Const.FragmentProgram.MaxNativeAluInstructions = nmesa->FPfunc.MaxInst;
       ctx->Const.FragmentProgram.MaxNativeTexInstructions = nmesa->FPfunc.MaxInst;