summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw/draw_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/draw/draw_context.h')
-rw-r--r--src/mesa/pipe/draw/draw_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_context.h b/src/mesa/pipe/draw/draw_context.h
index 21ee18e7cf6..03679848b55 100644
--- a/src/mesa/pipe/draw/draw_context.h
+++ b/src/mesa/pipe/draw/draw_context.h
@@ -42,6 +42,7 @@
struct vertex_buffer;
+struct vertex_info;
struct draw_context;
struct draw_stage;
@@ -96,6 +97,8 @@ void draw_set_twoside_attributes(struct draw_context *draw,
uint front0, uint back0,
uint front1, uint back1);
+void draw_compute_vertex_size(struct vertex_info *vinfo);
+
unsigned draw_prim_info( unsigned prim, unsigned *first, unsigned *incr );
unsigned draw_trim( unsigned count, unsigned first, unsigned incr );