mesa: remove unused "indirect" parameter from Driver.Draw
[mesa.git] / src / mesa / drivers / dri / nouveau / nouveau_vbo_t.c
index 280c0ecc2913782c4fa2378a1c93483a5f3ecab0..d365f7a531a56a5b21970df5549da027cf1bf4bd 100644 (file)
@@ -245,8 +245,7 @@ TAG(vbo_render_prims)(struct gl_context *ctx,
                      GLboolean index_bounds_valid,
                      GLuint min_index, GLuint max_index,
                      struct gl_transform_feedback_object *tfb_vertcount,
-                      unsigned stream,
-                     struct gl_buffer_object *indirect);
+                      unsigned stream);
 
 static GLboolean
 vbo_maybe_split(struct gl_context *ctx, const struct tnl_vertex_array *arrays,
@@ -483,8 +482,7 @@ TAG(vbo_render_prims)(struct gl_context *ctx,
                      GLboolean index_bounds_valid,
                      GLuint min_index, GLuint max_index,
                      struct gl_transform_feedback_object *tfb_vertcount,
-                      unsigned stream,
-                     struct gl_buffer_object *indirect)
+                      unsigned stream)
 {
        struct nouveau_render_state *render = to_render_state(ctx);
 
@@ -521,8 +519,7 @@ TAG(vbo_check_render_prims)(struct gl_context *ctx,
                            GLboolean index_bounds_valid,
                            GLuint min_index, GLuint max_index,
                            struct gl_transform_feedback_object *tfb_vertcount,
-                            unsigned stream,
-                           struct gl_buffer_object *indirect)
+                            unsigned stream)
 {
        struct nouveau_context *nctx = to_nouveau_context(ctx);
 
@@ -531,12 +528,12 @@ TAG(vbo_check_render_prims)(struct gl_context *ctx,
        if (nctx->fallback == HWTNL)
                TAG(vbo_render_prims)(ctx, arrays, prims, nr_prims, ib,
                                      index_bounds_valid, min_index, max_index,
-                                     tfb_vertcount, stream, indirect);
+                                     tfb_vertcount, stream);
 
        if (nctx->fallback == SWTNL)
                _tnl_draw_prims(ctx, arrays, prims, nr_prims, ib,
                                index_bounds_valid, min_index, max_index,
-                               tfb_vertcount, stream, indirect);
+                               tfb_vertcount, stream);
 }
 
 static void
@@ -546,8 +543,7 @@ TAG(vbo_draw)(struct gl_context *ctx,
              GLboolean index_bounds_valid,
              GLuint min_index, GLuint max_index,
              struct gl_transform_feedback_object *tfb_vertcount,
-             unsigned stream,
-             struct gl_buffer_object *indirect)
+             unsigned stream)
 {
        /* Borrow and update the inputs list from the tnl context */
        const struct tnl_vertex_array* arrays = _tnl_bind_inputs(ctx);
@@ -555,7 +551,7 @@ TAG(vbo_draw)(struct gl_context *ctx,
        TAG(vbo_check_render_prims)(ctx, arrays,
                                    prims, nr_prims, ib,
                                    index_bounds_valid, min_index, max_index,
-                                   tfb_vertcount, stream, indirect);
+                                   tfb_vertcount, stream);
 }
 
 void