nir: Take a shader and variable mode in nir_assign_io_var_locations
[mesa.git] / src / mesa / tnl / t_vp_build.c
index 3d8210cec25739fa43eac43a7f372985fccc1143..7de2105d32679be6cbc1aa3acfa3d77527498806 100644 (file)
@@ -40,8 +40,6 @@
  */
 void _tnl_UpdateFixedFunctionProgram( struct gl_context *ctx )
 {
-   const struct gl_program *prev = ctx->VertexProgram._Current;
-
    if (!ctx->VertexProgram._Current ||
        ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) {
       ctx->VertexProgram._Current