mesa: Remove unused _vbo_current_binding

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14098>
This commit is contained in:
Adam Jackson 2021-05-20 17:14:15 -04:00 committed by Marge Bot
parent d88398413a
commit b4ae8ee43e
2 changed files with 0 additions and 13 deletions

View file

@ -244,11 +244,6 @@ vbo_get_minmax_indices_gallium(struct gl_context *ctx,
const struct gl_array_attributes*
_vbo_current_attrib(const struct gl_context *ctx, gl_vert_attrib attr);
const struct gl_vertex_buffer_binding*
_vbo_current_binding(const struct gl_context *ctx);
void GLAPIENTRY
_es_Color4f(GLfloat r, GLfloat g, GLfloat b, GLfloat a);

View file

@ -218,11 +218,3 @@ _vbo_current_attrib(const struct gl_context *ctx, gl_vert_attrib attr)
const gl_vertex_processing_mode vmp = ctx->VertexProgram._VPMode;
return &vbo->current[_vbo_attribute_alias_map[vmp][attr]];
}
const struct gl_vertex_buffer_binding *
_vbo_current_binding(const struct gl_context *ctx)
{
const struct vbo_context *vbo = vbo_context_const(ctx);
return &vbo->binding;
}