gallium: remove pipe_index_buffer and set_index_buffer
[mesa.git] / src / gallium / auxiliary / util / u_prim_restart.h
index 1e98e0e1b22de1b2fe6168ea048c429b5df2aa53..0e17ce5eb1a9f5632431cc1aa1b15b282435a64f 100644 (file)
@@ -38,20 +38,17 @@ extern "C" {
 
 struct pipe_context;
 struct pipe_draw_info;
-struct pipe_index_buffer;
+union pipe_index_binding;
 struct pipe_resource;
 
 
 enum pipe_error
 util_translate_prim_restart_ib(struct pipe_context *context,
-                               struct pipe_index_buffer *src_buffer,
-                               struct pipe_resource **dst_buffer,
-                               unsigned num_indexes,
-                               unsigned restart_index);
+                               const struct pipe_draw_info *info,
+                               struct pipe_resource **dst_buffer);
 
 enum pipe_error
 util_draw_vbo_without_prim_restart(struct pipe_context *context,
-                                   const struct pipe_index_buffer *ib,
                                    const struct pipe_draw_info *info);