[Mesa-dev] [PATCH 05/10] i965: Remove glbinding from brw_vertex_element.
Mathias.Froehlich at gmx.net
Mathias.Froehlich at gmx.net
Wed Dec 12 06:44:39 UTC 2018
From: Mathias Fröhlich <mathias.froehlich at web.de>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>
---
src/mesa/drivers/dri/i965/brw_context.h | 1 -
src/mesa/drivers/dri/i965/brw_draw.c | 7 -------
2 files changed, 8 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index b278bdd477..704542c87b 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -446,7 +446,6 @@ struct brw_vertex_buffer {
};
struct brw_vertex_element {
const struct gl_array_attributes *glattrib;
- const struct gl_vertex_buffer_binding *glbinding;
int buffer;
bool is_dual_slot;
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c
index fe96609e1f..6e4a0a0213 100644
--- a/src/mesa/drivers/dri/i965/brw_draw.c
+++ b/src/mesa/drivers/dri/i965/brw_draw.c
@@ -332,13 +332,6 @@ brw_merge_inputs(struct brw_context *brw)
{
const struct gen_device_info *devinfo = &brw->screen->devinfo;
const struct gl_context *ctx = &brw->ctx;
- GLuint i;
-
- for (i = 0; i < VERT_ATTRIB_MAX; i++) {
- struct brw_vertex_element *input = &brw->vb.inputs[i];
- _mesa_draw_attrib_and_binding(ctx, i,
- &input->glattrib, &input->glbinding);
- }
if (devinfo->gen < 8 && !devinfo->is_haswell) {
/* Prior to Haswell, the hardware can't natively support GL_FIXED or
--
2.19.2
More information about the mesa-dev
mailing list