vbo: expose helper function vbo_get_minmax_index_mapped for glthread
[mesa.git] / src / mesa / vbo / vbo.h
index 688e8fd83eb7ccdd666bbd94471110a7486f2c1c..c402caa74f1c04385e361a2440a6a0df87300bd5 100644 (file)
@@ -87,6 +87,12 @@ vbo_save_EndCallList(struct gl_context *ctx);
 void
 vbo_delete_minmax_cache(struct gl_buffer_object *bufferObj);
 
+void
+vbo_get_minmax_index_mapped(unsigned count, unsigned index_size,
+                            unsigned restartIndex, bool restart,
+                            const void *indices,
+                            unsigned *min_index, unsigned *max_index);
+
 void
 vbo_get_minmax_indices(struct gl_context *ctx, const struct _mesa_prim *prim,
                        const struct _mesa_index_buffer *ib,