nir: use enum operator helper for nir_variable_mode and nir_metadata
[mesa.git] / src / mesa / tnl / t_rebase.h
index 35175868d5d80c20b40a9fbdd95cc629f6549536..b596d93995b723794be99c03d898a152860f370f 100644 (file)
 #ifndef _T_REBASE_H_
 #define _T_REBASE_H_
 
-#include "vbo/vbo.h"
+#include "tnl.h"
 
 void t_rebase_prims( struct gl_context *ctx,
-                     const struct gl_vertex_array *arrays[],
+                     const struct tnl_vertex_array *arrays,
                      const struct _mesa_prim *prim,
                      GLuint nr_prims,
                      const struct _mesa_index_buffer *ib,
                      GLuint min_index,
                      GLuint max_index,
-                     vbo_draw_func draw );
+                     GLuint num_instances,
+                     GLuint base_instance,
+                     tnl_draw_func draw );
 
 #endif