Mesa (main): mesa: Remove unused _vbo_current_binding
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Dec 7 19:02:50 UTC 2021
Module: Mesa
Branch: main
Commit: b4ae8ee43ecc19f0aa46c0f026c561bbccd9f374
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4ae8ee43ecc19f0aa46c0f026c561bbccd9f374
Author: Adam Jackson <ajax at redhat.com>
Date: Thu May 20 17:14:15 2021 -0400
mesa: Remove unused _vbo_current_binding
Reviewed-by: Dave Airlie <airlied at redhat.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14098>
---
src/mesa/vbo/vbo.h | 5 -----
src/mesa/vbo/vbo_context.c | 8 --------
2 files changed, 13 deletions(-)
diff --git a/src/mesa/vbo/vbo.h b/src/mesa/vbo/vbo.h
index ce4364e4a20..c01ff41030e 100644
--- a/src/mesa/vbo/vbo.h
+++ b/src/mesa/vbo/vbo.h
@@ -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);
diff --git a/src/mesa/vbo/vbo_context.c b/src/mesa/vbo/vbo_context.c
index fcbb22bea43..9930894d9db 100644
--- a/src/mesa/vbo/vbo_context.c
+++ b/src/mesa/vbo/vbo_context.c
@@ -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;
-}
More information about the mesa-commit
mailing list